/* ============================================================
   Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Parisienne&display=swap');

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --color-primary:      #3786e6;
  --color-accent:       var(--accent-400);
  --color-primary-dark: #2268c8;
  --color-accent-light: #6dd8f0;
  --color-accent-dark:  #1da8cc;
  --color-white:        #ffffff;
  --color-bg:           #f0f6ff;
  --color-text:         #162040;

  --primary-900: hsl(256, 43%,  7%);
  --primary-800: hsl(240, 24%, 13%);
  --primary-700: hsl(243, 26%, 15%);
  --primary-600: hsl(252,  9%, 22%);
  --primary-500: hsl(259, 13%, 28%);
  --primary-400: hsl(254, 22%, 32%);
  --primary-300: hsl(251, 13%, 68%);
  --primary-200: hsl(240, 15%, 76%);
  --primary-100: hsl(240, 21%, 88%);
  --neutral-100: hsl(0, 0%, 100%);
  --accent-400:  #37c3e6;

  --text-1: var(--neutral-100);
  --text-2: var(--neutral-100);
  --text-3: var(--neutral-100);
  --surface-1: var(--primary-900);
  --surface-2: var(--primary-800);
  --surface-3: var(--primary-700);
  --border-1: var(--primary-500);
  --border-2: var(--primary-600);

  --glass-bg:        rgba(255, 255, 255, 0.18);
  --glass-border:    rgba(255, 255, 255, 0.55);
  --glass-blur:      10px;
  --glass-highlight: inset 0 1.5px 0 rgba(255, 255, 255, 0.85);
  --glass-shadow:    0 20px 60px rgba(0, 0, 0, 0.28),
                     0 4px 16px rgba(0, 0, 0, 0.14),
                     0 0 0 1px rgba(55, 195, 230, 0.07);

  --radius-panel:  20px;
  --radius-button: 14px;
  --radius-md:     12px;
  --radius-sm:     8px;
  --radius-full:   999px;

  --nav-inset:    1.5rem;

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --font-body:   'Be Vietnam Pro', sans-serif;
  --font-script: 'Parisienne', cursive;

  --shadow-btn:        0 4px 14px rgba(55, 134, 230, 0.35);
  --shadow-btn-accent: 0 4px 14px rgba(55, 195, 230, 0.40);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Glass panel
   ============================================================ */
.glass-panel {
  background: var(--glass-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-panel);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  padding: var(--space-lg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: opacity 0.18s, transform 0.12s, box-shadow 0.18s;
  user-select: none;
}
.btn:active { transform: scale(0.96); }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.38) 0%,
    rgba(255,255,255,0.14) 44%,
    rgba(255,255,255,0.00) 45%,
    rgba(255,255,255,0.04) 100%
  );
  pointer-events: none;
}
.btn--primary {
  background: linear-gradient(175deg, var(--color-accent-light) 0%, var(--color-accent) 52%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-accent);
}
.btn--primary:hover { box-shadow: 0 6px 20px rgba(55,195,230,0.5); transform: translateY(-1px); }
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rippleOut 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut { to { transform: scale(60); opacity: 0; } }

/* ============================================================
   SPA layout
   ============================================================ */
body.spa {
  overflow: hidden;
  min-height: 0; /* base body min-height:100vh otherwise outgrows 100dvh under the mobile URL bar */
  height: 100vh;
  height: 100dvh;
  background: var(--primary-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--nav-inset) 0 var(--space-sm);
}

.spa-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.spa-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spa-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 68%, rgba(0, 0, 20, 0.25) 0%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 20, 0.12) 0%, rgba(0, 0, 20, 0.28) 100%);
}

/* ============================================================
   Header
   ============================================================ */
.spa-header {
  position: relative;
  z-index: 100;
  flex-shrink: 0;
  width: fit-content;
  max-width: calc(100vw - var(--nav-inset) * 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.7rem 0.55rem;
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.4s;
}
.spa-header__logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spa-header__logo-img {
  width: 100%;
  height: 72px;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.55));
}
.spa-header__bottom {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.spa-header__nav { display: flex; gap: 0.3rem; }

/* ============================================================
   Glass buttons
   ============================================================ */
.glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.82rem;
  background: rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-button);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  user-select: none;
}
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  border-top-color: rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 12px rgba(0, 0, 0, 0.14);
}
.glass-btn:active { transform: translateY(0) scale(0.97); }
.glass-btn.active,
.nav-btn.active {
  background: rgba(55, 195, 230, 0.2);
  border-top-color: rgba(55, 195, 230, 0.7);
  border-left-color: rgba(55, 195, 230, 0.25);
  border-right-color: rgba(55, 195, 230, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(55, 195, 230, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(55, 195, 230, 0.45),
    inset 0 1px 0 rgba(55, 195, 230, 0.3),
    0 0 12px rgba(55, 195, 230, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
}

#cartCount {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: #e63946;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}
#cartCount:empty { display: none; }

/* ============================================================
   Main panel
   ============================================================ */
.spa-panel {
  position: relative;
  z-index: 50;
  flex: 1;
  min-height: 0;
  margin-top: var(--space-sm);
  width: min(975px, calc(100vw - var(--space-lg) * 2));
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-lg);
  border-radius: var(--radius-panel);
  /* composited children (animated views, images) can paint past the rounded
     corners of a scroll container on mobile — clip-path clips them for real */
  clip-path: inset(0 round var(--radius-panel));
}
.spa-panel::-webkit-scrollbar { width: 3px; }
.spa-panel::-webkit-scrollbar-track { background: transparent; }
.spa-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }
.spa-panel__content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   View animations
   ============================================================ */
@keyframes viewZoomIn {
  from { opacity: 0; transform: scale(0.9);  filter: blur(4px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}
@keyframes viewZoomOut {
  from { opacity: 1; transform: scale(1);    filter: blur(0); }
  to   { opacity: 0; transform: scale(0.92); filter: blur(4px); }
}
.spa-panel__content.zoom-in  { animation: viewZoomIn  0.38s cubic-bezier(0.34, 1.2, 0.64, 1) both; }
.spa-panel__content.zoom-out { animation: viewZoomOut 0.2s ease-in both; pointer-events: none; }

@keyframes headerPress  { 0% { transform: scale(1) translateY(0); } 45% { transform: scale(0.982) translateY(5px); } 100% { transform: scale(1) translateY(0); } }
@keyframes panelReceive { 0% { transform: scale(1); } 45% { transform: scale(1.009); } 100% { transform: scale(1); } }
.spa-header--combining { animation: headerPress  0.48s cubic-bezier(0.4, 0, 0.2, 1); }
.spa-panel--combining  { animation: panelReceive 0.48s cubic-bezier(0.4, 0, 0.2, 1); }

/* ============================================================
   View: Home
   ============================================================ */
.view-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}
.view-home__logo {
  width: clamp(120px, 28vw, 200px);
  height: auto;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.55));
}
.view-home__sub { font-size: 1rem; color: var(--text-3); }
.view-home__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}
.view-home__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin-top: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.06);
}
.view-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.view-info-row:last-child { border-bottom: none; }
.view-info-label {
  font-weight: 700;
  color: var(--accent-400);
  flex-shrink: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.view-info-row a { color: var(--text-1); font-weight: 600; }
.view-info-row--primary { font-size: 0.96rem; }
.view-info-row--primary a { color: var(--text-1); font-weight: 800; font-size: 1rem; }

.wave-rule {
  width: 48px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-400), transparent);
  margin: 0.1rem auto;
  opacity: 0.55;
}

/* ============================================================
   View: Services
   ============================================================ */
.view-services { display: flex; flex-direction: column; gap: 0; }
.svc-category { padding: var(--space-md) 0; }
.svc-category__title {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-button);
  background: linear-gradient(175deg, var(--color-accent-light) 0%, var(--color-accent) 52%, var(--color-accent-dark) 100%);
  box-shadow: var(--shadow-btn-accent);
}
.svc-category + .svc-category { padding-top: 1.5rem; }
.svc-category--addon,
.svc-category--piercing,
.svc-category--voucher,
.svc-category--eyelash,
.svc-category--waxing { padding-top: 2.75rem; }
.svc-category__note {
  font-size: 0.74rem;
  color: var(--text-3);
  margin: -0.2rem 0 0.5rem 0.6rem;
}
.svc-list { display: flex; flex-direction: column; }
.svc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.48rem 0;
}
.svc-item__info { flex: 1; min-width: 0; }
.svc-item__name { font-size: 0.88rem; color: var(--text-1); }
.svc-item__note { display: block; font-size: 0.74rem; color: var(--text-3); margin-top: 0.1rem; }
.svc-item__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.svc-item__price { font-size: 1rem; font-weight: 700; color: var(--text-1); white-space: nowrap; }
.svc-item__price em { font-style: normal; font-size: 0.88rem; color: var(--accent-400); font-weight: 600; }
.svc-item__add { padding: 0.36rem 0.88rem; font-size: 0.82rem; font-weight: 700; white-space: nowrap; border-radius: var(--radius-full); }
.svc-item__add:disabled { opacity: 0.38; cursor: default; transform: none !important; box-shadow: none !important; }
.svc-policy { font-size: 0.76rem; color: var(--text-3); padding-top: var(--space-sm); border-top: 1px solid var(--border-2); margin-top: var(--space-sm); }

.svc-item__photo {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.1em;
  margin-left: 0.4rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--accent-400);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
}
.svc-item__photo:hover { color: var(--color-accent); transform: scale(1.15); }

/* ============================================================
   Photo lightbox
   ============================================================ */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lightbox-in 0.18s ease-out;
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.photo-lightbox__panel {
  max-width: min(480px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 40px rgba(0, 0, 0, 0.4);
  animation: lightbox-panel-in 0.22s ease-out;
}
@keyframes lightbox-panel-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.photo-lightbox__panel img {
  display: block;
  width: 100%;
  min-height: 0;
  object-fit: cover;
}
.photo-lightbox__panel--wide { max-width: min(760px, 92vw); }
.photo-lightbox__panel--wide img { object-fit: contain; max-height: 86vh; }
.photo-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.65rem 0.9rem;
}
.photo-lightbox__info { display: flex; flex-direction: column; min-width: 0; }
.photo-lightbox__name { font-size: 0.9rem; font-weight: 600; color: var(--text-1); }
.photo-lightbox__price { font-size: 0.82rem; font-weight: 700; color: var(--accent-400); }
.photo-lightbox__add { padding: 0.4rem 1rem; font-size: 0.84rem; font-weight: 700; white-space: nowrap; border-radius: var(--radius-full); }
.photo-lightbox__add:disabled { opacity: 0.38; cursor: default; }

/* ============================================================
   View: Gallery
   ============================================================ */
.view-gallery { display: flex; flex-direction: column; gap: var(--space-md); container-type: inline-size; }
/* Mosaic: one big tile + two small per group, big side alternating.
   Square cells sized off container width so every span stays square. */
.gallery-grid {
  --g: var(--space-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: calc((100cqw - 2 * var(--g)) / 3);
  grid-auto-flow: dense;
  gap: var(--g);
}
.gallery-tile {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tile:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.gallery-tile--big { grid-column: span 2; grid-row: span 2; }
.gallery-tile--right { grid-column: 2 / 4; }
.gallery-tile--tall { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100cqw - var(--g)) / 2); }
  .gallery-tile--right { grid-column: 1 / 3; }
  .gallery-tile--tall { grid-row: span 1; grid-column: span 2; }
}
.gallery-follow { text-align: center; margin-bottom: var(--space-md); }
.gallery-follow__btn { gap: 0.55rem; }
.gallery-follow__btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   View: Contact
   ============================================================ */
.view-contact { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); }
.view-contact .form-group { display: flex; flex-direction: column; gap: 0.32rem; margin-bottom: var(--space-sm); }
.view-contact .form-group label { font-size: 0.74rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.view-contact .form-group input,
.view-contact .form-group textarea {
  padding: 0.68rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.view-contact .form-group input::placeholder,
.view-contact .form-group textarea::placeholder { color: var(--text-3); opacity: 0.6; }
.view-contact .form-group input:focus,
.view-contact .form-group textarea:focus {
  outline: none;
  border-top-color: hsl(from var(--accent-400) h s l / 0.55);
  border-left-color: hsl(from var(--accent-400) h s l / 0.3);
  border-right-color: hsl(from var(--accent-400) h s l / 0.3);
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 3px hsl(from var(--accent-400) h s l / 0.1);
}
.view-contact .form-group textarea { resize: vertical; }

/* Enquiry wizard */
.wizard-bar { display: flex; align-items: center; gap: 0.65rem; margin-bottom: var(--space-md); }
.wizard-bar__track {
  flex: 1;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.wizard-bar__fill {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-accent) 55%, var(--color-accent-dark) 100%);
  box-shadow: 0 0 10px rgba(55, 195, 230, 0.45);
  transition: width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.wizard-bar__pct { font-size: 0.84rem; font-weight: 800; color: var(--text-1); min-width: 2.7rem; text-align: right; }
.wizard-empty { font-size: 0.9rem; color: var(--text-1); line-height: 1.65; }
.wizard-note { font-size: 0.84rem; color: var(--text-1); line-height: 1.6; margin-top: var(--space-sm); }
.wizard-nav { display: flex; align-items: center; gap: 0.55rem; margin-top: var(--space-md); }
.wizard-nav__btn { padding: 0.55rem 0.75rem; }
.wizard-nav__next { margin-left: auto; gap: 0.45rem; padding: 0.62rem 1.35rem; }
/* .btn/.glass-btn set display, which beats the browser's [hidden] rule —
   without this, Next/Send both render on every step */
.wizard-nav [hidden], .wizard-step[hidden] { display: none !important; }
.wizard-step { animation: stepIn 0.32s ease both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
#wizSend { animation: btnSwapIn 0.34s cubic-bezier(0.34, 1.2, 0.64, 1) both; }
@keyframes btnSwapIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
.view-contact .enquiry-confirmation { text-align: center; padding: var(--space-lg) 0; color: var(--text-2); font-size: 1rem; line-height: 1.75; }

.enquiry-summary {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: var(--space-md);
}
.enquiry-summary__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-400); margin-bottom: 0.4rem; }
.enquiry-summary__list { display: flex; flex-direction: column; gap: 0.25rem; }
.enquiry-summary__list li { font-size: 0.88rem; color: var(--text-2); display: flex; justify-content: space-between; align-items: baseline; }
.enquiry-summary__price { font-weight: 700; color: var(--text-1); font-size: 0.85rem; }

.view__title { font-size: 1.45rem; font-weight: 800; color: var(--text-1); margin-bottom: var(--space-sm); }
.view__sub { font-size: 0.9rem; color: var(--text-3); line-height: 1.65; }

/* ============================================================
   Cart panel
   ============================================================ */
.cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 100vw);
  z-index: 200;
  background: rgba(55, 195, 230, 0.18);
  backdrop-filter: blur(18px) saturate(2.0);
  -webkit-backdrop-filter: blur(18px) saturate(2.0);
  border-left: 1px solid rgba(55, 195, 230, 0.4);
  border-top: 1px solid rgba(55, 195, 230, 0.5);
  box-shadow: inset 0 1px 0 rgba(55, 195, 230, 0.22), -8px 0 32px rgba(0, 20, 50, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-panel:not([hidden]) { transform: translateX(0); }
.cart-panel[hidden] { display: flex; }
.cart-panel__inner { display: flex; flex-direction: column; height: 100%; padding: var(--space-lg); color: var(--text-1); gap: var(--space-md); }
.cart-panel__header { display: flex; align-items: center; gap: 0.5rem; padding-bottom: var(--space-md); }
.cart-clear-btn { flex-shrink: 0; width: 2.5rem; height: 2.5rem; padding: 0; }
.cart-send-btn { flex: 1; justify-content: space-between; padding: 0.65rem 0.9rem; }
.cart-panel__list { flex: 1; overflow-y: auto; }
.cart-panel__empty { font-size: 0.88rem; color: var(--text-3); line-height: 1.65; }
.cart-collapse-btn { align-self: flex-end; width: 2.5rem; height: 2.5rem; padding: 0; }
.cart-item { display: flex; align-items: center; gap: var(--space-sm); padding: 0.65rem 0; }
.cart-item__name { flex: 1; font-size: 0.9rem; line-height: 1.4; color: var(--text-2); }
.cart-item__price { font-size: 0.85rem; font-weight: 700; color: var(--accent-400); white-space: nowrap; }
.cart-item__remove {
  background: hsl(from var(--surface-3) h s l / 0.5);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  cursor: pointer;
  font-size: 0.95rem;
  width: 1.75rem; height: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.cart-item__remove:hover { background: hsl(0, 50%, 25%); color: hsl(0, 80%, 80%); }

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 720px) {
  body.spa {
    padding: var(--space-md) var(--space-md)
             calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  }
  .spa-header {
    width: 100%;
    max-width: 100%;
    gap: 0.3rem;
    padding: 0.42rem 0.5rem;
  }
  .spa-header__bottom,
  .spa-header__nav { flex-wrap: wrap; justify-content: center; row-gap: 0.3rem; }
  .spa-header__logo-img { height: 52px; }
  .glass-btn { padding: 0.28rem 0.55rem; font-size: 0.74rem; }
  .spa-panel { width: 100%; padding: var(--space-md); scrollbar-width: none; }
  .spa-panel::-webkit-scrollbar { display: none; }
  .view-home__logo { width: clamp(90px, 40vw, 160px); }
  .view-home__actions { flex-direction: column; align-items: stretch; }
  .svc-item__add { padding: 0.3rem 0.6rem; font-size: 0.76rem; }
  .cart-panel { width: max(200px, 52vw); }
  .cart-panel__inner { padding: var(--space-md); }
}

/* ============================================================
   Microinteractions
   ============================================================ */
@keyframes badgePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.badge-pop { animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

@keyframes ctaPulse {
  0%, 100% { transform: scale(1);     box-shadow: var(--shadow-btn-accent); }
  50%       { transform: scale(1.015); box-shadow: 0 6px 22px rgba(55, 195, 230, 0.45); }
}
.view-home .btn--primary { animation: ctaPulse 3.5s ease-in-out 1.5s infinite; }
.view-home .btn--primary:hover,
.view-home .btn--primary:active { animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
