/* Brand layer: loaded last on every customer page.
   1. Phone cards for products, treatments, packages and gifts
   2. The footer (accordions on phones, four-part layout on desktop)
   Palette and type come from tokens.css: ivory, warm ink, gold, Cormorant + Poppins. */

:root {
  --br-gold: #B8933F;
  --br-gold-soft: #C9A45C;
  --br-gold-deep: #8A6A22;
  --br-ink: #17130F;
  --br-ink-2: #3D362E;
  --br-mute: #6E645A;
  --br-ivory: #FBF8F3;
  --br-line: #EADFCB;
  --br-night: #14110E;
  --br-serif: var(--font-accent, 'Cormorant', Georgia, serif);
  --br-sans: var(--font-body, 'Poppins', system-ui, sans-serif);
  --br-ease: cubic-bezier(.22, .8, .2, 1);
}

/* =========================================================
   1. CARDS (phones)
   ========================================================= */
@media (max-width: 760px) {
  .ace-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .ace-pcard { gap: 0; }
  .ace-pcard__tile {
    padding: 0; overflow: hidden; border-radius: 20px; background: #F1EADF;
    box-shadow: 0 18px 30px -22px rgba(23, 19, 15, .55);
  }
  .ace-pcard__tile img { aspect-ratio: 4 / 5; border-radius: 0; transition: transform .6s var(--br-ease); }
  .ace-pcard:active .ace-pcard__tile img { transform: scale(1.03); }
  .ace-pcard__badge {
    top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--br-ink); font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  }
  .ace-pcard__badge--offer { background: rgba(255, 255, 255, .9); color: var(--br-gold-deep); }
  .ace-pcard__badge--out { background: rgba(23, 19, 15, .78); color: #fff; }
  .ace-pcard .ace-card__wish {
    top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 6px 14px -8px rgba(23, 19, 15, .5);
  }
  .ace-pcard .ace-card__wish svg { width: 15px; height: 15px; }
  .ace-pcard__cat {
    margin-top: 13px; font-size: .6rem; font-weight: 600; letter-spacing: .16em; color: var(--br-gold-deep);
  }
  .ace-pcard__name {
    margin-top: 12px; font-size: .9rem; font-weight: 500; line-height: 1.32; color: var(--br-ink);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.64em;
  }
  .ace-pcard__cat + .ace-pcard__name { margin-top: 5px; }
  .ace-pcard__price { margin-top: 6px; font-family: var(--br-serif); font-size: 1.22rem; font-weight: 600; letter-spacing: .01em; color: var(--br-ink); }
  .ace-pcard__desc { font-size: .8rem; }
  .ace-pcard__add {
    margin-top: 12px; min-height: 42px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
    background: transparent; color: var(--br-ink); border: 1px solid var(--br-ink);
    transition: background .2s, color .2s, transform .2s;
  }
  .ace-pcard__add:hover:not(:disabled) { background: var(--br-ink); color: #fff; }
  .ace-pcard__add:active:not(:disabled) { background: var(--br-ink); color: #fff; transform: scale(.98); }
  .ace-pcard__add svg { width: 14px; height: 14px; }

  /* Swipe rails: a single row of cards you flick through, edge to edge. */
  .ace-pgrid--rail {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gut, 16px) * -1); padding: 4px var(--gut, 16px) 8px; scroll-padding-inline: var(--gut, 16px);
  }
  .ace-pgrid--rail::-webkit-scrollbar { display: none; }
  .ace-pgrid--rail > .ace-pcard { flex: 0 0 min(58vw, 236px); scroll-snap-align: start; }
}

/* =========================================================
   2. FOOTER
   ========================================================= */
.ace-foot {
  position: relative; margin-top: clamp(56px, 8vw, 110px); padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px) 28px;
  background: radial-gradient(90% 60% at 100% 0%, rgba(201, 164, 92, .12), transparent 60%), var(--br-night);
  color: #CFC6B8; border-radius: 0; font-family: var(--br-sans);
}
.ace-foot a { text-decoration: none; }
.ace-foot__cta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ace-foot__eyebrow { margin: 0 0 10px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--br-gold-soft); }
.ace-foot__headline { margin: 0; max-width: 16ch; font-family: var(--br-serif); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.05; color: #fff; }
.ace-foot__headline em { color: var(--br-gold-soft); font-style: italic; }
.ace-foot__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ace-foot__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: .03em;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--br-ease);
}
.ace-foot__btn:hover { border-color: var(--br-gold-soft); color: var(--br-gold-soft); }
.ace-foot__btn--gold { background: linear-gradient(135deg, #D2B06A, #B8933F); border-color: transparent; color: #17130F; font-weight: 600; }
.ace-foot__btn--gold:hover { color: #17130F; transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(201, 164, 92, .7); }

.ace-foot .ace-foot__inner {
  display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.3fr; gap: clamp(28px, 4vw, 64px);
  padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ace-foot .ace-foot__about p { margin: 12px 0 20px; max-width: 34ch; font-size: .88rem; line-height: 1.7; color: #A99F92; }
.ace-foot__logo { font-family: var(--br-serif); font-size: 2rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.ace-foot__logo i { color: var(--br-gold-soft); font-style: normal; }
.ace-foot__social { display: flex; gap: 10px; }
/* Social icons: one clean circle each (the link itself carries no ring, so the icon always sits in the middle of its circle). */
.ace-foot .v2-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; text-decoration: none; transition: transform .25s var(--br-ease); }
.ace-foot .v2-social__icon { box-sizing: border-box; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: inherit; transition: background .25s, color .25s; }
.ace-foot .v2-social__icon svg { display: block; width: 18px; height: 18px; }
.ace-foot .v2-social:hover { transform: translateY(-2px); }
.ace-foot .v2-social:hover .v2-social__icon { background: var(--br-gold-soft); color: #17130F; }

.ace-foot__acc summary {
  list-style: none; cursor: default; display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--br-gold-soft);
}
.ace-foot__acc summary::-webkit-details-marker { display: none; }
.ace-foot__acc summary::after { content: none; }
.ace-foot__links { display: flex; flex-direction: column; gap: 4px; }
.ace-foot__links a { position: relative; display: inline-block; padding: 7px 0; font-size: .92rem; color: #CFC6B8; transition: color .2s, transform .25s var(--br-ease); }
.ace-foot__links a:hover { color: #fff; transform: translateX(4px); }

.ace-foot__visit h2, .ace-foot__news h2 { margin: 0 0 14px; font-family: var(--br-sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--br-gold-soft); }
.ace-foot__visit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ace-foot__visit li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.55; color: #CFC6B8; }
.ace-foot__visit li > svg { flex: none; margin-top: 3px; color: var(--br-gold-soft); }
.ace-foot__visit li a { color: #E9E2D8; }
.ace-foot__visit li a:hover { color: var(--br-gold-soft); }
.ace-foot__visit li span a { display: block; margin-top: 3px; font-size: .8rem; color: var(--br-gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.ace-foot .ace-foot__news { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 8px 40px; align-items: end; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(255, 255, 255, .08); }
.ace-foot__news h2 { grid-column: 1; margin-bottom: 4px; }
.ace-foot .ace-foot__news p { grid-column: 1; margin: 0; max-width: 46ch; font-size: .9rem; line-height: 1.6; color: #A99F92; }
.ace-foot__form { grid-column: 2; grid-row: 1 / span 2; position: relative; display: flex; align-items: center; margin: 0; max-width: none; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.ace-foot__form:focus-within { border-color: var(--br-gold-soft); }
.ace-foot__form input[type=email] { flex: 1; min-width: 0; height: 44px; padding: 0 16px; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: .92rem; }
.ace-foot__form input::placeholder { color: #8F8577; }
.ace-foot__form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--br-gold-soft); color: #17130F; font-size: 1.15rem; cursor: pointer; transition: transform .25s var(--br-ease), background .2s; }
.ace-foot__form button:hover { background: #E1C283; transform: translateX(2px); }
.ace-foot__form button:disabled { opacity: .6; cursor: wait; }
.ace-foot__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ace-foot .ace-foot__msg { grid-column: 2; min-height: 1.3em; margin: 6px 0 0; padding-left: 18px; font-size: .8rem; color: #A99F92; }
.ace-foot__msg[data-state="ok"] { color: #8FD3AE !important; }
.ace-foot__msg[data-state="error"] { color: #F2A0A0 !important; }
.ace-foot__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ace-foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 22px; }
.ace-foot__copy { font-size: .78rem; color: #8F8577; }
.ace-foot__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.ace-foot__legal a { font-size: .78rem; color: #CFC6B8; }
.ace-foot__legal a:hover { color: #fff; }
.ace-foot__top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #CFC6B8; font: inherit; font-size: .76rem; cursor: pointer; transition: color .2s, border-color .2s; }
.ace-foot__top:hover { color: var(--br-gold-soft); border-color: var(--br-gold-soft); }

@media (max-width: 1000px) {
  .ace-foot .ace-foot__inner { grid-template-columns: 1fr 1fr; }
  .ace-foot .ace-foot__about { grid-column: 1 / -1; }
}

/* Phones: a calm, app-like sheet. Sections fold into accordions. */
@media (max-width: 760px) {
  /* The footer itself clears the fixed tab bar, so no pale strip shows under it. */
  body.has-quick-bar { padding-bottom: 0; }
  .ace-foot { margin-top: 48px; padding: 36px 20px calc(96px + env(safe-area-inset-bottom, 0px)); border-radius: 28px 28px 0 0; }
  .ace-foot__cta { flex-direction: column; align-items: stretch; gap: 22px; padding-bottom: 28px; }
  .ace-foot__headline { max-width: 13ch; font-size: 2.15rem; }
  .ace-foot__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ace-foot__btn { min-height: 50px; padding: 0 16px; }
  .ace-foot__btn--gold { grid-column: 1 / -1; min-height: 54px; font-size: .9rem; }
  .ace-foot__actions .ace-foot__btn:nth-child(2):last-child { grid-column: 1 / -1; }

  .ace-foot .ace-foot__inner { display: block; padding: 28px 0 8px; border-bottom: 0; }
  .ace-foot .ace-foot__about { margin-bottom: 20px; }
  .ace-foot__logo { font-size: 1.75rem; }
  .ace-foot__acc { border-top: 1px solid rgba(255, 255, 255, .1); }
  .ace-foot__acc:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .ace-foot__acc summary { cursor: pointer; min-height: 56px; margin: 0; font-size: .74rem; }
  .ace-foot__acc summary::after {
    content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid var(--br-gold-soft); border-bottom: 1.6px solid var(--br-gold-soft);
    transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--br-ease);
  }
  .ace-foot__acc[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
  .ace-foot__links { padding: 0 0 16px; }
  .ace-foot__links a { padding: 11px 0; font-size: .95rem; }
  .ace-foot__links a:hover { transform: none; }

  .ace-foot .ace-foot__visit { margin-top: 24px; padding: 22px 20px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
  .ace-foot .ace-foot__news { display: block; margin-top: 16px; padding: 22px 20px; border: 1px solid rgba(201, 164, 92, .3); border-radius: 22px; background: linear-gradient(160deg, rgba(201, 164, 92, .14), rgba(201, 164, 92, .04)); }
  .ace-foot__form { margin-top: 16px; }
  .ace-foot .ace-foot__msg { padding-left: 6px; }

  .ace-foot__bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
  .ace-foot__top { align-self: stretch; justify-content: center; min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ace-foot *, .ace-foot *::before, .ace-foot *::after { transition: none !important; }
}

/* Phone footer: a quiet, centred close. Desktop keeps the full footer above. */
.ace-foot__m { display: none; }
@media (max-width: 760px) {
  .ace-foot { padding: 44px 24px calc(104px + env(safe-area-inset-bottom, 0px)); border-radius: 0; background: #0A0807; }
  .ace-foot__cta, .ace-foot .ace-foot__inner, .ace-foot__bottom { display: none; }
  .ace-foot__m { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .ace-foot .ace-foot__m-logo img { display: block; width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
  .ace-foot .ace-foot__m-tag { margin: 22px 0 0; max-width: 30ch; font-family: var(--br-sans); font-size: 1rem; font-style: italic; line-height: 1.6; color: #B9AFA2; }
  .ace-foot .ace-foot__m-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 24px; margin-top: 30px; }
  .ace-foot .ace-foot__m-nav a { padding: 10px 0; font-size: .92rem; font-weight: 500; letter-spacing: .12em; color: #E9E2D8; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
  .ace-foot .ace-foot__m-nav a:active, .ace-foot .ace-foot__m-info a:active { color: var(--br-gold-soft); }
  .ace-foot .ace-foot__m-social { display: flex; gap: 12px; margin-top: 30px; }
  .ace-foot__m-social .v2-social { width: 52px; height: 52px; }
  .ace-foot__m-social .v2-social__icon { width: 52px; height: 52px; background: transparent; border-color: rgba(255, 255, 255, .16); }
  .ace-foot__m-social .v2-social__icon svg { width: 20px; height: 20px; }
  .ace-foot .ace-foot__m-info { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; justify-items: center; }
  .ace-foot .ace-foot__m-info li { display: flex; align-items: center; gap: 12px; max-width: 100%; }
  .ace-foot .ace-foot__m-info svg { flex: none; color: var(--br-gold-soft); }
  .ace-foot .ace-foot__m-info a { font-size: .98rem; color: #E9E2D8; overflow-wrap: anywhere; }
  .ace-foot .ace-foot__m-copy { margin: 38px 0 0; padding-top: 22px; width: 100%; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .74rem; letter-spacing: .06em; color: #8F8577; text-wrap: balance; }
  .ace-foot .ace-foot__m-legal { display: flex; gap: 22px; margin: 10px 0 0; }
  .ace-foot .ace-foot__m-legal a { display: inline-flex; align-items: center; min-height: 40px; font-size: .74rem; letter-spacing: .08em; color: #A99F92; }
}

/* =========================================================
   HOMEPAGE CARDS
   ========================================================= */
/* Category cards: a full-bleed photo with the name laid over a soft shade.
   The whole card is the link. */
.ace-catcards a { transition: transform .45s var(--br-ease), box-shadow .45s var(--br-ease); }
.ace-catcards a:hover { box-shadow: 0 26px 40px -24px rgba(23, 19, 15, .5); }
.ace-catcards img { transition: transform .8s var(--br-ease); }
.ace-catcards a:hover img { transform: scale(1.05); }

@media (max-width: 760px) {
  .ace-catcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ace-catcards a { position: relative; display: block; aspect-ratio: 4 / 5; border: 0; border-radius: 22px; background: #1E1914; box-shadow: 0 20px 32px -22px rgba(23, 19, 15, .6); }
  .ace-catcards a img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .ace-catcards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 10, 0) 38%, rgba(20, 15, 10, .82) 100%); pointer-events: none; }
  .ace-catcards a div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; gap: 10px; padding: 14px 14px 16px; }
  .ace-catcards b { font-size: .8rem; font-weight: 600; letter-spacing: .1em; line-height: 1.3; color: #fff; }
  .ace-catcards span { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .28); font-size: .7rem; font-weight: 500; letter-spacing: .04em; color: #fff; }

  /* Package banners: photo on top, words underneath, so nothing sits over a face. */
  .ace-promo-duo { gap: 14px; }
  .ace-promo { min-height: 0; padding: 0 0 22px; justify-content: flex-start; align-items: stretch; background: #F6EFE3; border: 1px solid var(--br-line); box-shadow: 0 22px 34px -26px rgba(23, 19, 15, .5); }
  .ace-promo img, .ace-promo video { position: relative; inset: auto; order: -1; z-index: 0; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
  .ace-promo__eyebrow { align-self: flex-start; margin: 18px 20px 0; }
  .ace-promo__title { max-width: none; margin: 10px 20px 6px; font-size: 1.6rem; }
  .ace-promo__sub { max-width: none; margin: 0 20px 18px; font-size: .9rem; line-height: 1.55; }
  .ace-promo__btn { align-self: flex-start; margin: 0 20px; min-height: 46px; display: inline-flex; align-items: center; }
}

/* Packages without a photo get a quiet monogram tile instead of a blank box. */
.ace-pcard__ph { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 6px; background: radial-gradient(120% 90% at 20% 0%, #F7EBCF, transparent 60%), linear-gradient(160deg, #F1E5CC, #E4D3B2); }
.ace-pcard__ph i { font-family: var(--br-serif); font-size: 2.2rem; font-weight: 500; font-style: italic; color: var(--br-gold-deep); }

@media (max-width: 760px) {
  .ace-pcard__tile { border: 1px solid rgba(23, 19, 15, .06); }
  .ace-pcard__ph { aspect-ratio: 16 / 10; border-radius: 0; }

  /* Packages: one generous card per package, not two cramped columns. */
  .ace-pgrid:has(.ace-pcard__items) { grid-template-columns: 1fr; gap: 22px; }
  .ace-pgrid .ace-pcard:has(.ace-pcard__items) { background: #fff; border: 1px solid var(--br-line); border-radius: 26px; overflow: hidden; padding-bottom: 22px; box-shadow: 0 26px 40px -30px rgba(23, 19, 15, .5); }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__tile { border: 0; border-radius: 0; box-shadow: none; }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__tile img { aspect-ratio: 16 / 10; }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__name { margin: 20px 22px 0; min-height: 0; font-family: var(--br-serif); font-size: 1.55rem; font-weight: 600; line-height: 1.15; -webkit-line-clamp: 3; }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__price { margin: 8px 22px 0; font-size: 1.3rem; color: var(--br-gold-deep); }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__desc { margin: 10px 22px 0; font-size: .9rem; line-height: 1.6; color: var(--br-mute); }
  .ace-pcard__items { margin: 16px 22px 0; gap: 0; }
  .ace-pcard__items li { justify-content: flex-start; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #F0E8D8; font-size: .88rem; color: var(--br-ink-2); }
  .ace-pcard__items li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #F3E8D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6A22' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
  .ace-pcard__items li .muted { margin-left: auto; }
  .ace-pcard:has(.ace-pcard__items) .ace-pcard__add { margin: 20px 22px 0; width: auto; min-height: 50px; background: var(--br-ink); color: #fff; }
}

/* Treatment and product pages on phones: one column, big photo, words with room. */
@media (max-width: 760px) {
  .ace-pdetail { grid-template-columns: 1fr; gap: 24px; }
  .ace-pdetail__media { position: relative; top: auto; padding: 0; overflow: hidden; border-radius: 26px; background: #F1EADF; box-shadow: 0 28px 44px -30px rgba(23, 19, 15, .55); }
  .ace-pdetail__media img { aspect-ratio: 1 / 1.05; border-radius: 0; }
  .ace-pdetail__media .ace-pcard__badge { top: 14px; left: 14px; }
  .ace-pdetail__body { gap: 16px; }
  .ace-pdetail h1 { font-family: var(--br-serif); font-size: 2.2rem; font-weight: 600; line-height: 1.05; letter-spacing: -.005em; }
  .ace-pdetail__price { font-family: var(--br-serif); font-size: 1.7rem; font-weight: 600; color: var(--br-gold-deep); }
  .ace-pdetail__desc { font-size: .96rem; line-height: 1.75; color: var(--br-mute); }
  .ace-pdetail__notes { display: grid; gap: 12px; padding: 18px 20px; border-radius: 20px; background: #F6EFE3; border: 1px solid var(--br-line); }
  .ace-pdetail__pill, .ace-pdetail__points li { font-size: .92rem; color: var(--br-ink-2); }
  .ace-pdetail__actions { gap: 12px; }
  .ace-pdetail__add { min-height: 54px; border-radius: 999px; font-size: .92rem; letter-spacing: .03em; }
  .ace-pdetail__stock { font-size: .78rem; }
}
@media (max-width: 760px) {
  .v2-home.ace-detail { padding: 0 0 8px; border-radius: 0; }
  .ace-detail .ace-pdetail { padding-inline: 16px; }
}
@media (max-width: 760px) {
  .ace-pdetail .ace-pdetail__add { background: linear-gradient(135deg, #D2B06A, #B8933F); border-color: transparent; color: #17130F; font-weight: 600; }
  .ace-pdetail__points li { gap: 12px; }
  .ace-pdetail__points li > span, .ace-pdetail__points li { text-align: left; }
}

/* =========================================================
   MOBILE HOME: a visual story. One picture (or video) per
   screen, a few words, one obvious next step.
   ========================================================= */
.m-video { display: none; }

@media (max-width: 760px) {
  /* -- Rhythm ------------------------------------------------ */
  .v2-home { --gut: 16px; }
  .ace-sec { margin-top: 0; }
  .ace-sec__head { align-items: center; margin-bottom: 18px; }
  .ace-sec__head h2 { font-family: var(--br-serif); font-size: 1.85rem; font-weight: 600; line-height: 1.05; letter-spacing: -.005em; }
  .ace-sec__head a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--br-line); font-size: .78rem; font-weight: 500; color: var(--br-ink); text-decoration: none; }

  /* -- Hero: full-bleed picture, headline, one gold button ---- */
  .ace-hero { display: flex; flex-direction: column; justify-content: flex-end; position: relative; margin: 0; padding: 0; min-height: min(84svh, 720px); border-radius: 0 0 32px 32px; background: #1A1510; overflow: hidden; }
  .ace-hero__art { position: absolute; inset: 0; aspect-ratio: auto; }
  .ace-hero__art img, .ace-hero__art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 24%; -webkit-mask-image: none; mask-image: none; filter: none; }
  .ace-hero__scrim { display: block; background: linear-gradient(180deg, rgba(20, 15, 10, .05) 28%, rgba(20, 15, 10, .5) 58%, rgba(20, 15, 10, .9) 100%); }
  .ace-hero__copy { position: relative; z-index: 1; max-width: none; margin: 0; padding: 0 20px 18px; }
  .ace-hero__eyebrow { background: rgba(23, 19, 15, .52); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
  .ace-hero h1 { margin: 14px 0 0; font-family: var(--br-serif); font-size: clamp(2.6rem, 12.5vw, 3.6rem); font-weight: 500; line-height: .98; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
  .ace-hero h1 em { color: #E6C983; }
  .ace-hero__lede { display: none; }
  .ace-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .ace-hero__btn { justify-content: center; min-height: 54px; padding: 0 12px; border-radius: 999px; background: linear-gradient(135deg, #D8B872, #B8933F); color: #17130F; font-size: .9rem; font-weight: 600; letter-spacing: .02em; border: 0; }
  .ace-hero__btn--ghost { background: rgba(23, 19, 15, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .38); color: #fff; }
  .ace-hero__strip { position: relative; left: auto; bottom: auto; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 14px 10px calc(16px); border-radius: 0; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .14); overflow: visible; }
  .ace-hero__strip > div { flex-direction: column; justify-content: flex-start; align-items: center; gap: 6px; padding: 0 4px; text-align: center; border: 0; }
  .ace-hero__strip > div + div { border: 0; }
  .ace-hero__strip svg { width: 22px; height: 22px; color: #E6C983; }
  .ace-hero__strip b { font-size: .68rem; font-weight: 500; line-height: 1.25; color: #fff; }
  .ace-hero__strip span { display: none; }

  /* -- Concern circles: pictures with a single word ---------- */
  .ace-shortcuts { padding-top: 26px; }

  /* -- Video moment ------------------------------------------ */
  .m-video { display: block; padding: 32px var(--gut) 0; }
  .m-video__card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; background: #1A1510; box-shadow: 0 30px 46px -30px rgba(23, 19, 15, .7); text-decoration: none; }
  .m-video__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-video__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 10, 0) 45%, rgba(20, 15, 10, .82) 100%); pointer-events: none; }
  .m-video__label { position: absolute; left: 20px; right: 20px; bottom: 74px; z-index: 1; font-family: var(--br-serif); font-size: 1.9rem; font-weight: 500; line-height: 1.05; color: #fff; text-wrap: balance; }
  .m-video__cta { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .34); font-size: .8rem; font-weight: 500; color: #fff; }
  .m-video__cta i { font-style: normal; }

  /* -- Bento: the first treatment tile is wide --------------- */
  .ace-catcards { padding-top: 32px; }
  .ace-catcards a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .ace-catcards a:first-child b { font-size: .95rem; }

  /* -- Banners and steps: fewer words ------------------------ */
  .ace-promo__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .ace-trusted { display: none; }
  .ace-steps { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ace-step { padding: 20px 8px 18px; text-align: center; border-radius: 22px; }
  .ace-step p, .ace-step__n { display: none; }
  .ace-step__top { display: flex; justify-content: center; margin-bottom: 12px; }
  .ace-step h3 { margin: 0; font-size: .88rem; font-weight: 600; line-height: 1.25; }

  /* -- Founder and bridal: picture first, one line ------------ */
  .ace-founder blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .ace-sale__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .ace-sale__proof { display: none; }
}
@media (max-width: 760px) {
  .ace-hero { min-height: min(calc(100svh - 176px), 680px); }
  .ace-hero__actions { grid-template-columns: 1.25fr 1fr; }
  .ace-hero__btn { white-space: nowrap; font-size: .86rem; }
  .ace-hero__strip b { font-size: .64rem; white-space: normal; }
}
@media (max-width: 760px) {
  .ace-promo-duo { padding-top: 18px; }
  .assistant-fab { width: 50px; height: 50px; }
}
@media (max-width: 760px) {
  .ace-catcards a:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .ace-steps { display: grid; overflow: visible; margin-inline: 0; padding: 0 var(--gut); scroll-snap-type: none; }
  .ace-step { flex: initial; min-width: 0; }
  .ace-step__icon { width: 44px; height: 44px; }
  .ace-step__icon svg { width: 22px; height: 22px; }
}
@media (max-width: 760px) {
  .ace-step .ace-step__icon { display: grid !important; place-items: center; background: #fff; color: var(--br-gold-deep); }
}

/* =========================================================
   MOBILE, EVERY PAGE: shared page heads and rhythm
   ========================================================= */
@media (max-width: 760px) {
  .ace-pagehead { padding-top: 18px; }
  .ace-crumbs { font-size: .74rem; }
  .ace-pagehead h1 { font-family: var(--br-serif); font-size: clamp(2.2rem, 10vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
  .ace-pagehead p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 10px; font-size: .95rem; line-height: 1.55; color: var(--br-mute); }
  .ace-shortcuts { gap: 14px; }
  .ace-sec__head--filters { gap: 10px; }
}
@media (max-width: 760px) {
  .ace-promo__title { font-family: var(--br-serif); font-size: 1.85rem; font-weight: 600; line-height: 1.05; }
  .ace-promo__eyebrow { color: var(--br-gold-deep); font-weight: 600; }
}

/* About, on phones: the people and the pictures lead; long paragraphs step back. */
@media (max-width: 760px) {
  .ace-story__body p:not(.ace-story__quote):nth-of-type(n+2) { display: none; }
  .ace-value p { display: none; }
  .ace-team__head > p { display: none; }
  .ace-results .ace-team__head > p { display: none; }
  .ace-aboutbanner__copy > p:not(.ace-aboutbanner__eyebrow) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .ace-story h2, .ace-team h2, .ace-details h2, .ace-results h2, .ace-aboutbanner h2 { font-family: var(--br-serif); font-weight: 500; line-height: 1.05; }
}
@media (max-width: 760px) {
  .filter-toggle { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--br-line); background: #fff; color: var(--br-ink); font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
  .ace-shortcuts { scroll-padding-inline: 20px; }
}
.filter-bar .filter-toggle, .filter-toggle { border-radius: 999px !important; background: #fff !important; border-color: var(--br-line) !important; }

/* Booking sheet: treatments are pictures first. */
.fchoice-thumb { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 16px -10px rgba(23, 19, 15, .5); }
.fchoice-body b { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.fchoice { min-height: 72px; }
.fgroup { color: var(--br-gold-deep); }

/* Gift card designs need room to show their wording: one per row on phones. */
@media (max-width: 760px) {
  .ace-pgrid:has(.gc-face) { grid-template-columns: 1fr; gap: 24px; }
  .ace-pcard__tile--gift { padding: 0; }
  .ace-pcard__tile--gift .gc-face { border-radius: 20px; }
  .ace-pgrid:has(.gc-face) .ace-pcard__name { font-family: var(--br-serif); font-size: 1.5rem; font-weight: 600; min-height: 0; }
  .ace-pgrid:has(.gc-face) .ace-pcard__desc { font-size: .9rem; color: var(--br-mute); }
  .ace-pgrid:has(.gc-face) .ace-pcard__price { font-size: 1rem; color: var(--br-gold-deep); }
}

/* The gift card face's small logo was being stretched by the general card-photo rule. */
.ace-pcard__tile .gc-face__ring img { width: 62%; height: 62%; aspect-ratio: auto; object-fit: contain; border-radius: 0 !important; transform: none; }
.ace-pcard__tile--gift .gc-face { aspect-ratio: 1.6 / 1; height: auto; gap: 8px; }
.ace-pcard__tile--gift .gc-face__ring { width: 20%; }
.ace-pcard__tile--gift .gc-face__brand { font-size: .62rem; }
.ace-pcard__tile--gift .gc-face__for { font-size: 1.15rem; }
.ace-pcard__tile--gift .gc-face { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ace-pcard__tile--gift .gc-face__brand, .ace-pcard__tile--gift .gc-face__for { display: block; }
@media (max-width: 760px) {
  .ace-hero__btn--ghost { background: #fff; color: var(--br-ink); border: 1px solid var(--br-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ace-hero .ace-hero__btn--ghost { background: rgba(23, 19, 15, .46); color: #fff; border: 1px solid rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* =========================================================
   ABOUT: the founder's story
   ========================================================= */
.ab-founder { display: grid; gap: 0; padding: 8px var(--gut, 16px) 0; max-width: 1240px; margin: 0 auto; font-family: var(--br-sans); color: var(--br-ink); }
.ab-founder__photo { position: relative; margin: 0; }
.ab-founder__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 28px; box-shadow: 0 34px 50px -34px rgba(23, 19, 15, .6); background: #EFE6D4; }
.ab-founder__photo figcaption { position: relative; z-index: 1; margin: -44px 14px 0; padding: 20px 18px; border-radius: 26px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid #EBDDBE; box-shadow: 0 24px 40px -26px rgba(23, 19, 15, .5); text-align: center; }
.ab-founder__photo figcaption b { display: block; font-family: var(--br-serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.ab-founder__photo figcaption span { display: block; margin-top: 8px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--br-gold-deep); }
.ab-founder__story { padding-top: 40px; }
.ab-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--br-gold-deep); }
.ab-eyebrow::before, .ab-eyebrow::after { content: ""; width: 14px; height: 1px; background: currentColor; }
.ab-founder__story h2 { margin: 0 0 22px; font-family: var(--br-serif); font-size: clamp(2.2rem, 8vw, 3.4rem); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.ab-founder__story p:not(.ab-eyebrow) { margin: 0 0 18px; max-width: 62ch; font-size: 1.02rem; line-height: 1.75; color: var(--br-ink-2); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--br-line); background: #fff; color: var(--br-ink); font-size: .86rem; font-weight: 600; letter-spacing: .03em; text-decoration: none; transition: transform .3s var(--br-ease), box-shadow .3s; }
.ab-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -18px rgba(23, 19, 15, .5); }
.ab-btn--gold { background: linear-gradient(135deg, #D8B872, #B8933F); border-color: transparent; color: #17130F; }
@media (max-width: 480px) { .ab-actions .ab-btn { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .ab-founder { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: 24px; }
  .ab-founder__photo { position: sticky; top: 110px; }
  .ab-founder__story { padding-top: 12px; }
}

/* No "Home / About" trail: the header and tab bar already say where you are. */
.ace-crumbs { display: none !important; }

/* Homepage hero film: a close-up of a radiant face, centred. */
.ace-hero__art video[data-default-hero] { object-fit: cover; object-position: 50% 38%; }
@media (max-width: 760px) {
  .ace-hero__art img, .ace-hero__art video { object-position: 50% 38%; }
}

/* Phone hero: the film sits in the upper part so the whole face reads, then melts into the dark. */
@media (max-width: 760px) {
  .ace-hero__art { bottom: auto; height: 68%; }
  .ace-hero__art img, .ace-hero__art video { object-position: 50% 30%; }
  .ace-hero__scrim { background: linear-gradient(180deg, rgba(26, 21, 16, 0) 0%, rgba(26, 21, 16, 0) 34%, rgba(26, 21, 16, .78) 58%, #1A1510 74%); }
}

/* =========================================================
   CATALOG PAGES: Treatments + Skincare (picture-first)
   ========================================================= */
.cx { --cx-top: 96px; --gut: clamp(16px, 4vw, 40px); max-width: 1320px; margin: 0 auto; padding: 0 var(--gut) 8px; font-family: var(--br-sans); color: var(--br-ink); }
.cx-head { padding: 22px 0 6px; }
.cx-eyebrow { margin: 0 0 8px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--br-gold-deep); }
.cx-head h1 { margin: 0; font-family: var(--br-serif); font-size: clamp(2.7rem, 11vw, 4.6rem); font-weight: 500; line-height: .95; letter-spacing: -.012em; }
.cx-search { display: flex; align-items: center; gap: 10px; height: 54px; margin-top: 18px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--br-line); color: var(--br-mute); max-width: 560px; transition: border-color .2s, box-shadow .2s; }
.cx-search:focus-within { border-color: var(--br-gold); box-shadow: 0 0 0 4px rgba(184, 147, 63, .16); }
.cx-search svg { flex: none; }
.cx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--br-ink); }
.cx-chips { position: sticky; top: var(--cx-top); z-index: 20; display: flex; gap: 8px; margin: 14px calc(var(--gut) * -1) 0; padding: 10px var(--gut); overflow-x: auto; scrollbar-width: none; background: rgba(251, 248, 243, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cx-chips::-webkit-scrollbar { display: none; }
.cx-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--br-line); background: #fff; color: var(--br-ink); font: inherit; font-size: .84rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cx-chip i { font-style: normal; font-size: .7rem; color: var(--br-mute); }
.cx-chip.is-on { background: var(--br-ink); border-color: var(--br-ink); color: #fff; }
.cx-chip.is-on i { color: rgba(255, 255, 255, .7); }
.cx-meta { padding: 14px 2px 14px; font-size: .8rem; color: var(--br-mute); }

.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .cx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } }
@media (min-width: 1080px) { .cx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; } }
.cx-group { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 26px 0 0; font-family: var(--br-serif); font-size: 1.85rem; font-weight: 600; line-height: 1.05; }
.cx-group:first-child { margin-top: 4px; }
.cx-group i { font-family: var(--br-sans); font-style: normal; font-size: .78rem; font-weight: 500; color: var(--br-mute); }

.cx-card { position: relative; min-width: 0; }
.cx-card__frame { position: relative; }
.cx-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 22px; background: #EFE7D9; text-decoration: none; box-shadow: 0 22px 34px -26px rgba(23, 19, 15, .55); }
.cx-card--pro .cx-card__media { aspect-ratio: 1 / 1.1; }
.cx-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--br-ease); }
@media (hover: hover) { .cx-card:hover .cx-card__media img { transform: scale(1.05); } }
.cx-card--svc .cx-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 10, 0) 42%, rgba(20, 15, 10, .82) 100%); pointer-events: none; }
.cx-card__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 14px 58px 16px 14px; }
.cx-card__caption b { font-family: var(--br-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.08; color: #fff; text-wrap: balance; }
.cx-card__caption span { font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: #F0DDAE; }
.cx-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--br-ink); }
.cx-badge--out { background: rgba(23, 19, 15, .82); color: #fff; }
.cx-heart { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--br-ink); cursor: pointer; }
.cx-heart::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 14px -8px rgba(23, 19, 15, .5); }
.cx-heart svg { position: relative; }
.cx-heart.is-saved { color: #C0392B; }
.cx-heart.is-saved svg { fill: currentColor; }
.cx-fab { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #D8B872, #B8933F); color: #17130F; box-shadow: 0 12px 22px -10px rgba(23, 19, 15, .7); cursor: pointer; transition: transform .25s var(--br-ease); }
.cx-fab:active { transform: scale(.92); }
.cx-fab--book { background: rgba(255, 255, 255, .92); }
.cx-card__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 12px; min-height: 2.6em; font-size: .92rem; font-weight: 500; line-height: 1.3; color: var(--br-ink); text-decoration: none; }
.cx-card__price { display: block; margin-top: 4px; font-family: var(--br-serif); font-size: 1.25rem; font-weight: 600; color: var(--br-ink); }
.cx-more { display: grid; justify-items: center; padding: 30px 0 6px; }
.cx-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--br-ink); background: transparent; color: var(--br-ink); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.cx-btn:hover { background: var(--br-ink); color: #fff; }
.cx-btn i { font-style: normal; font-weight: 400; opacity: .7; }
.cx-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 56px 16px; text-align: center; border: 1px dashed var(--br-line); border-radius: 24px; }
.cx-empty h2 { margin: 0; font-family: var(--br-serif); font-size: 1.9rem; font-weight: 500; }
.cx-empty p { margin: 0; color: var(--br-mute); }
.cx .cx-group, .cx .cx-empty h2 { font-family: var(--br-serif); font-weight: 600; letter-spacing: 0; }
.cx .cx-head h1 { font-weight: 500; }
@media (max-width: 760px) {
  /* Square film: shows the whole smiling face instead of a slice of it. */
  .ace-hero__art { height: 104vw; }
  .ace-hero__art img, .ace-hero__art video { object-position: 50% 42%; }
  .ace-hero__scrim { background: linear-gradient(180deg, rgba(26, 21, 16, 0) 0%, rgba(26, 21, 16, 0) 52%, rgba(26, 21, 16, .85) 82%, #1A1510 100%); }
}

/* Catalog toolbar: count on the left; a search icon and one filter button on the right. */
.cx-bar { position: sticky; top: var(--cx-top); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; margin: 10px calc(var(--gut) * -1) 0; padding: 8px var(--gut); background: rgba(251, 248, 243, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cx-bar .cx-meta { margin: 0; padding: 0; font-size: .82rem; color: var(--br-mute); }
.cx-tools { display: flex; align-items: center; gap: 8px; }
.cx-tool { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--br-line); background: #fff; color: var(--br-ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cx-tool:hover { border-color: var(--br-ink); }
.cx-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; max-width: 58vw; padding: 0 16px; border-radius: 999px; border: 1px solid var(--br-line); background: #fff; color: var(--br-ink); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cx-filter span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-filter svg:last-child { transition: transform .25s var(--br-ease); }
.cx-filter[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.cx-filter.is-set { background: var(--br-ink); border-color: var(--br-ink); color: #fff; }

.cx-searchbox { position: absolute; inset: 8px var(--gut); z-index: 2; display: flex; align-items: center; gap: 10px; padding: 0 4px 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--br-gold); box-shadow: 0 0 0 4px rgba(184, 147, 63, .16); color: var(--br-mute); }
.cx-searchbox[hidden] { display: none; }
.cx-searchbox input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--br-ink); }
.cx-searchbox .cx-tool { border: 0; width: 44px; height: 44px; }

.cx-menu { position: absolute; top: calc(100% - 4px); right: var(--gut); z-index: 30; display: grid; gap: 2px; width: min(320px, calc(100vw - 32px)); max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; border-radius: 22px; background: #fff; border: 1px solid var(--br-line); box-shadow: 0 30px 50px -20px rgba(23, 19, 15, .45); }
.cx-menu[hidden] { display: none; }
.cx-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: none; color: var(--br-ink); font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.cx-opt i { font-style: normal; font-size: .74rem; color: var(--br-mute); }
.cx-opt:hover { background: #F6EFE3; }
.cx-opt.is-on { background: var(--br-ink); color: #fff; font-weight: 600; }
.cx-opt.is-on i { color: rgba(255, 255, 255, .7); }

/* Phone hero, brighter: warm caramel instead of near-black, lighter shading, livelier film. */
@media (max-width: 760px) {
  .ace-hero { background: #8A5A34; }
  .ace-hero__art img, .ace-hero__art video { filter: brightness(1.14) saturate(1.08) contrast(1.02); }
  .ace-hero__scrim { background: linear-gradient(180deg, rgba(138, 90, 52, 0) 0%, rgba(138, 90, 52, 0) 48%, rgba(120, 76, 42, .72) 78%, #8A5A34 100%); }
  .ace-hero__strip { background: rgba(70, 42, 20, .38); }
  .ace-hero h1 { text-shadow: 0 2px 18px rgba(60, 36, 16, .35); }
}
@media (max-width: 760px) {
  /* Melt the film's lower edge into the caramel so no seam shows behind the headline. */
  .ace-hero__art { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
}

/* Touch targets: anything you tap on a phone has at least a 44px hit area. */
@media (max-width: 760px) {
  .ace-foot__m-info a, .ace-foot__legal a, .ace-foot__m-legal a, .ace-pdetail__back, .ace-bagline__x, .ab-eyebrow a, .ace-details a { position: relative; }
  .ace-foot__m-info a::before, .ace-foot__legal a::before, .ace-foot__m-legal a::before, .ace-pdetail__back::before, .ace-bagline__x::before { content: ""; position: absolute; inset: -12px -8px; }
  .qty-stepper button { width: 44px; height: 44px; }
  .gc-msgtools .btn, #gc-idea { min-height: 44px; }
  .ace-details a, .ace-details__grid a { display: inline-block; padding: 10px 0; }
}

/* Sign in / sign up: Google, the "or" divider, and Forgot password */
.account-social { display: grid; margin-bottom: 4px; }
.account-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid #DADCE0; background: #fff; color: #3C4043; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; transition: background .2s, box-shadow .2s; }
.account-google:hover { background: #F8F9FA; box-shadow: 0 2px 8px -3px rgba(60, 64, 67, .35); }
.account-google svg { flex: none; }
.account-or { display: flex; align-items: center; gap: 14px; margin: 16px 0 6px; color: var(--br-mute, #6E645A); font-size: .78rem; letter-spacing: .04em; }
.account-or::before, .account-or::after { content: ""; flex: 1; height: 1px; background: var(--br-line, #EADFCB); }
.account-forgot { justify-self: end; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--br-gold-deep, #8A6A22); font: inherit; font-size: .86rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.account-auth h2 + .account-social { margin-top: 18px; }

/* ---- Readable contrast and a steady layout (found by measuring with Lighthouse) ---- */
.brand-name em { color: #8A6A1C; }
.tab-bar__item { color: #6B6156; }
.tab-bar__item.is-active { color: #8A6A1C; }
.tab-bar__item--cta { color: var(--color-ink); }
/* until the treatment cards arrive, hold the space so the footer is not seen jumping */
#cx-grid:empty { min-height: 100vh; }

@media (max-width: 768px) { .ace-foot a { display: inline-block; padding-block: 7px; } }


/* Shop grid: quieter. The add button is small and light, the price is calmer, photos sit on a clean card. */
.cx-card--pro .cx-fab { width: 38px; height: 38px; right: 8px; bottom: 8px; background: #fff; color: #17130F; box-shadow: 0 2px 10px rgba(23,19,15,.16); border: 1px solid rgba(184,147,63,.45); }
.cx-card--pro .cx-card__price { font-size: 1.02rem; font-weight: 600; margin-top: 2px; }
.cx-card--pro .cx-card__name { font-size: .95rem; line-height: 1.3; }
.cx-card--pro .cx-card__media { box-shadow: none; }
.cx-card--pro .cx-heart { width: 34px; height: 34px; top: 8px; right: 8px; }
.cx-card--pro .cx-heart::before { inset: 0; background: rgba(255,255,255,.78); box-shadow: none; }
.cx-card--pro .cx-heart svg { width: 17px; height: 17px; }


/* Buttons: the words always fit. Long labels wrap instead of running out of the button, and the padding never drops to zero. */
.v2-button, .ab-btn, .ace-hero__btn, .ace-sale__btn { max-width: 100%; box-sizing: border-box; padding-inline: 24px; line-height: 1.25; text-align: center; white-space: normal; }
@media (max-width: 520px) {
  .v2-button { width: 100%; max-width: 380px; padding: 14px 22px; font-size: .72rem; letter-spacing: .06em; gap: 10px; }
  .ab-actions { flex-direction: column; align-items: stretch; }
  .ab-btn { width: 100%; padding: 12px 22px; }
}

/* The info links in the Visit section have no padding on a phone; the button in the same section must keep its own. */
.ace-details a.v2-button, .ace-details__grid a.v2-button { padding: 14px 24px; min-height: 52px; }
