/* Shared public-site controls. Page-specific colors (including event champagne)
   stay with their original components. */
:root {
  --lc-control-height: 48px;
  --lc-pill: 999px;
  --lc-card-radius: 14px;
  --lc-focus: #514a42;
  --lc-surface: #fffdfa;
  --lc-edge: #d6c9b9;
  --lc-depth: 0 2px 5px #43382e15, inset 0 1px 0 #ffffff24;
  --lc-fast: 150ms;
  --lc-ease: cubic-bezier(.2,.75,.25,1);
}

body .button, body .event-button, body .bag-toggle {
  min-height: var(--lc-control-height);
  max-width: 100%;
  border-radius: var(--lc-pill);
  box-shadow: var(--lc-depth);
  touch-action: manipulation;
  overflow-wrap: anywhere;
  transition: background-color var(--lc-fast), color var(--lc-fast),
              transform var(--lc-fast) var(--lc-ease);
}
body .button.outline, body .button.secondary {
  background: var(--lc-surface);
  color: #443b34;
  border-color: #92816f;
  box-shadow: none;
}
body :is(.button,.event-button,.bag-toggle,.hero-controls button,.menu-button,
         .service-preview,.directory-card,.team-biography summary, .text-link,
         input,select,textarea):focus-visible {
  outline: 2px solid var(--lc-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--lc-surface);
}
body :is(input,select,textarea)[aria-invalid="true"] {
  border-color: #874b48;
  outline-offset: 2px;
}
body :is(.button,.event-button)[aria-busy="true"] {cursor: progress;}
body .button:is(:disabled,[aria-disabled="true"]) {
  background: #e8e2d9;
  color: #554d44;
  border-color: #cbbfaf;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}
body .text-link {text-decoration-thickness: 1px; text-underline-offset: .27em;}
body .amount-choice span {border-radius: 10px; min-height: var(--lc-control-height);}
body .amount-choice input:checked + span {
  background: #596254; color: white; border-color: #596254;
  font-weight: 600; box-shadow: var(--lc-depth);
}
body .amount-choice input:checked + span::after {
  content: ""; display: inline-block; width: .35em; height: .65em; margin-left: .5em;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body .amount-choice input:focus-visible + span {outline: 2px solid var(--lc-focus); outline-offset: 3px;}
body :is(.service-preview,.product-card,.skin-card,.directory-card,.team-profile) {
  border-radius: var(--lc-card-radius);
  min-width: 0;
}
body .service-preview-photo, body .product-card .product-photo {
  border-radius: var(--lc-card-radius) var(--lc-card-radius) 0 0;
  overflow: hidden;
}
body .service-preview-copy h3, body .product-card h2, body .directory-card h3 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  body .button.outline:hover, body .button.secondary:hover {background: #f0e8dc;}
  body a.text-link:hover {text-decoration-thickness: 2px;}
}
@media (prefers-reduced-motion: no-preference) {
  body :is(.button,.event-button,.bag-toggle):active:not(:disabled):not([aria-disabled="true"]) {
    transform: scale(.98);
    transition-duration: 65ms;
  }
}
@media (max-width: 700px) {
  body .shop-header nav {flex-wrap: wrap; row-gap: 2px;}
  body .shop-header nav a {display: inline-flex; align-items: center; min-height: 44px;}
  body .qty-control button {min-height: 44px; min-width: 44px;}
  body :is(input,select,textarea):not([type=checkbox]):not([type=radio]) {font-size: max(1rem,16px);}
}
@media (hover: none) {
  body .button:hover, body .product-card:hover img {transform: none;}
}
@media (prefers-reduced-motion: reduce) {
  body :is(.button,.event-button,.bag-toggle,.product-card img,.service-preview,.menu-button) {
    transition: none;
    transform: none;
  }
}

/* Public actions share the event's floating glass finish. Tints follow section colors. */
:root {
  --lc-tint: 153 177 146;
  --lc-glass-ink: #324233;
  --lc-glass-edge: #879983a6;
  --lc-glass-layers: radial-gradient(ellipse at 18% 0%, #fffdf799, transparent 56%),
    linear-gradient(168deg, #fff9ed32, transparent 48%, #806c5f0d 84%, #fff8ec80);
  --lc-glass-shadow: inset 0 1px 0 #fffdf4e6, inset 0 -1px 1px #fff9edbb,
    0 3px 5px -3px #735b5030, 0 7px 14px -7px #735b503b;
}
:is(.service-preview, .directory-card, .service-directory, .shop-intro, .catalog,
     .skin-hero, .skin-buy, .skin-related, .skin-guidance, .hydrinity-cover,
     .product-card, .care-treatment, .care-info, .team-section, .about-service-grid) {
  --lc-tint: 219 165 157;
  --lc-glass-ink: #523b39;
  --lc-glass-edge: #ab877d9e;
}
:is(.gift-cover, .commerce-form, .commerce-panel, .cart-summary, .menu-button, .bag-toggle,
     .outline, .secondary, .text-button, .lc-public-visit) {
  --lc-tint: 217 191 149;
  --lc-glass-ink: #47392a;
  --lc-glass-edge: #a28a679e;
}
html body :is(.button, .bag-toggle, .menu-button, .text-button, .commerce-cart-link,
    .service-preview-link, .directory-link, .text-link, .team-bio-link,
    .qty-control button, .lc-public-visit .option, .lc-public-visit button)
    :where(svg) {flex-shrink: 0;}
html body :is(.button, .bag-toggle, .menu-button, .text-button, .commerce-cart-link,
    .service-preview-link, .directory-link, .text-link, .team-bio-link,
    .qty-control button, .lc-public-visit .option, .lc-public-visit button):not(.event-button):not(:disabled):not([aria-disabled="true"]) {
  color: var(--lc-glass-ink);
  background: var(--lc-glass-layers), #f4eee6;
  border: 1px solid var(--lc-glass-edge);
  border-radius: var(--lc-pill);
  box-shadow: var(--lc-glass-shadow);
  text-decoration: none;
  touch-action: manipulation;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body :is(.button, .bag-toggle, .menu-button, .text-button, .commerce-cart-link,
      .service-preview-link, .directory-link, .text-link, .team-bio-link,
      .qty-control button, .lc-public-visit .option, .lc-public-visit button):not(.event-button):not(:disabled):not([aria-disabled="true"]) {
    background-color: rgb(var(--lc-tint) / 19%);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
  }
}
/* Keep the lettering readable over photography and the darker contact band. */
html body :is(.hero-actions, .contact, .promos, .about-copy, .membership, footer) :is(.button,.text-link):not(.event-button) {
  background: var(--lc-glass-layers), linear-gradient(rgb(var(--lc-tint) / 24%), rgb(var(--lc-tint) / 14%)), #fffaf0d9;
}
html body :is(.service-preview-link,.directory-link,.text-link,.team-bio-link):not([hidden]) {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  align-self: start; min-height: 44px; max-width: 100%; width: fit-content;
  padding: 9px 16px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere;
}
:is(.service-preview-link,.directory-link)::after {
  content: ""; flex: 0 0 6px; height: 6px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
html body .qty-control button:not(:disabled) {min-width: 44px; min-height: 44px;}
html body .lc-public-visit :is(.option,button) {min-height: 44px;}
html body :is(.service-preview:focus-visible .service-preview-link, .directory-card:focus-visible .directory-link,
    .button:focus-visible,.menu-button:focus-visible,.text-link:focus-visible,.lc-public-visit .option:focus-visible) {
  outline: 2px solid var(--lc-focus); outline-offset: 3px;
}
@media (hover:hover) and (pointer:fine) {
  html body :is(.service-preview:hover .service-preview-link,.directory-card:hover .directory-link,
      .button:hover,.text-link:hover):not(.event-button):not(:disabled) {border-color: var(--lc-glass-ink);}
}
@media (prefers-reduced-motion:no-preference) {
  :is(.service-preview:active .service-preview-link,.directory-card:active .directory-link) {transform: scale(.985);}
}
@media (prefers-reduced-transparency:reduce), (forced-colors:active) {
  html body :is(.button, .bag-toggle,.menu-button,.text-button,.commerce-cart-link,
      .service-preview-link,.directory-link,.text-link,.team-bio-link,.qty-control button,
      .lc-public-visit .option,.lc-public-visit button):not(.event-button):not(:disabled):not([aria-disabled="true"]) {
    background: #f4eee6; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none;
  }
}


/* Keep grouped choices visually distinct from ordinary call-to-action buttons. */
body .hero-carousel .hero-controls, body .qty-control {
  background: linear-gradient(#fffdf6d9,#f3e8decc);
  border-color: #baa89b94; border-radius: var(--lc-pill);
  box-shadow: var(--lc-glass-shadow);
}
body .hero-controls .hero-page.is-current {
  background: #dce4d9; color: #334331; box-shadow: inset 0 0 0 1px #85967f;
}
body .amount-choice input:checked + span {
  background: linear-gradient(125deg,#f3f3ea,#d9e3d5);
  color:#344331; border-color:#869780;
}
