
/* ── Theme color (set by admin) ─────────────────────────────────── */
:root {
  --theme: var(--gold);  /* overridden by inline style on <html> */
}
/* ═══════════════════════════════════════════════════════════
   NAIL STUDIO PRO — Design System
   Aesthetic: Warm luxury meets Vietnamese chic
   NOT generic AI. Personal. Tactile. Warm.
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  /* Blush Cream palette (site-wide default; overridable via admin color presets) */
  --gold:    #e0909f;
  --gold-lt: #f2ccd4;
  --gold-dk: #c97183;
  --cream:   #fff7f4;
  --nude:    #fce7eb;
  --blush:   #e8c4b8;
  --accent:  #c97183;
  --warm-dk: #3a2a2e;
  --warm-md: #7a5560;
  --warm-lt: #a98a92;
  --white:   #ffffff;
  --shadow:  rgba(44,31,20,0.12);
  --shadow-lg: rgba(44,31,20,0.22);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--warm-dk);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Background with overlay support ───────────────────── */
body.has-bg-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.has-bg-image::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body.has-bg-image > * { position: relative; z-index: 1; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

/* ── Layout Wrappers ────────────────────────────────────── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--wide {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(201,169,110,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(253,248,242,0.85);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.salon-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--warm-dk);
  font-style: italic;
  letter-spacing: 0.04em;
}
.salon-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -2px;
}

/* ── Language toggle ────────────────────────────────────── */
.lang-toggle {
  display: flex;
  gap: 4px;
}
.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-lt);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  transition: var(--transition);
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px var(--shadow);
  overflow: hidden;
}
.card--glass {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  padding: 12px 28px;
  transition: var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover { background: var(--gold-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(160,120,64,0.3); }
.btn--outline {
  background: transparent;
  color: var(--warm-dk);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover { background: var(--nude); }
.btn--ghost {
  background: transparent;
  color: var(--warm-lt);
  padding: 8px 16px;
}
.btn--ghost:hover { color: var(--warm-dk); }
.btn--danger {
  background: #b91c1c;
  color: var(--white);
}
.btn--danger:hover { background: #991b1b; }
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Decorative elements ────────────────────────────────── */
.gold-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}
.gold-line::before, .gold-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
}
.gold-line .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--warm-dk);
  font-weight: 400;
}

/* ── Form elements ──────────────────────────────────────── */
.input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.input-wrap label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-lt);
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--nude);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--warm-dk);
  transition: var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* ── Step indicator ─────────────────────────────────────── */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0 8px;
}
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1.5px solid var(--gold-lt);
  color: var(--warm-lt);
  background: var(--white);
  transition: var(--transition);
  flex-shrink: 0;
}
.step-dot.active  { background: var(--gold); color: var(--white); border-color: var(--gold); }
.step-dot.done    { background: var(--gold-lt); color: var(--warm-dk); border-color: var(--gold-lt); }
.step-line {
  flex: 1;
  height: 1px;
  background: var(--gold-lt);
  max-width: 40px;
}

/* ── Nail shape SVGs ────────────────────────────────────── */
.shape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.shape-card {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: var(--nude);
  transition: var(--transition);
}
.shape-card:hover  { border-color: var(--gold-lt); background: var(--cream); }
.shape-card.active { border-color: var(--gold); background: var(--white); }
.shape-card svg    { width: 36px; height: 52px; display: block; margin: 0 auto 6px; }
.shape-card .name  { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--warm-lt); }

/* ── Service chips ──────────────────────────────────────── */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1.5px solid var(--gold-lt);
  border-radius: var(--radius-xl);
  padding: 8px 18px;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--nude);
  color: var(--warm-dk);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chip:hover  { background: var(--cream); border-color: var(--gold); }
.chip.active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.chip .price { font-size: 0.75rem; opacity: 0.8; }

/* ── Artist cards ───────────────────────────────────────── */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.artist-card {
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background: var(--nude);
  transition: var(--transition);
}
.artist-card:hover  { border-color: var(--gold-lt); background: var(--cream); }
.artist-card.active { border-color: var(--gold); background: var(--white); box-shadow: 0 4px 16px var(--shadow); }
.artist-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--warm-dk);
}
.artist-name  { font-weight: 500; font-size: 0.9rem; margin-bottom: 4px; }
.artist-level {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.artist-surcharge { font-size: 0.8rem; color: var(--warm-lt); margin-top: 2px; }

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--gold    { background: rgba(201,169,110,0.18); color: var(--gold-dk); }
.badge--green   { background: rgba(21,128,61,0.1);   color: #15803d; }
.badge--blue    { background: rgba(29,78,216,0.1);   color: #1d4ed8; }
.badge--orange  { background: rgba(194,65,12,0.1);   color: #c2410c; }
.badge--red     { background: rgba(185,28,28,0.1);   color: #b91c1c; }
.badge--gray    { background: rgba(100,100,100,0.1); color: #4b5563; }

/* ── Gallery grid ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--nude);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,31,20,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-item:hover .overlay {
  background: rgba(44,31,20,0.35);
}
.gallery-item .overlay svg { opacity: 0; transition: var(--transition); color: white; }
.gallery-item:hover .overlay svg { opacity: 1; }

/* ── Summary box ────────────────────────────────────────── */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--nude);
  font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--warm-lt); }
.summary-row .value { font-weight: 500; }
.summary-row.total  { padding-top: 14px; }
.summary-row.total .label { font-family: var(--font-display); font-size: 1.1rem; }
.summary-row.total .value { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-dk); }

/* ── Confirmation ───────────────────────────────────────── */
.confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

/* ── Modals ─────────────────────────────────────────────── */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(44,31,20,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 64px var(--shadow-lg);
}

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--warm-dk);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  z-index: 300;
  transform: translateY(80px);
  opacity: 0;
  transition: 0.3s ease;
  border-left: 3px solid var(--gold);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left-color: #16a34a; }
.toast.error   { border-left-color: #dc2626; }

/* ── Queue position ─────────────────────────────────────── */
.queue-display {
  text-align: center;
  padding: 40px 20px;
}
.queue-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

/* ── Admin specific ─────────────────────────────────────── */
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--warm-dk);
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.admin-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
}
.admin-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  margin-top: 2px;
}
.admin-nav {
  flex: 1;
  padding: 16px 0;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  color: var(--white);
  background: rgba(201,169,110,0.12);
  border-left-color: var(--gold);
}
.admin-nav a svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.admin-nav a.active svg { opacity: 1; }
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-topbar {
  padding: 20px 32px;
  border-bottom: 1px solid var(--nude);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}
.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  background: var(--cream);
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 1px 8px var(--shadow);
}
.stat-card .s-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-lt);
  margin-bottom: 6px;
}
.stat-card .s-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--warm-dk);
}
.stat-card .s-sub {
  font-size: 0.75rem;
  color: var(--warm-lt);
  margin-top: 2px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.data-table th {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-lt);
  padding: 10px 14px;
  text-align: left;
  background: var(--cream);
  border-bottom: 1px solid var(--nude);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--nude);
  color: var(--warm-dk);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--cream); }

/* ── Section tab panels ─────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 2px;
  background: var(--nude);
  border-radius: var(--radius-xl);
  padding: 3px;
  width: fit-content;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--warm-lt);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--white);
  color: var(--warm-dk);
  box-shadow: 0 1px 4px var(--shadow);
}

/* ── Utilities ──────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--warm-lt); }
.text-sm    { font-size: 0.85rem; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── Spinner ────────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--gold-lt);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .shape-grid   { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-cards   { grid-template-columns: repeat(2, 1fr); }
  .modal        { padding: 24px 20px; }
}

/* ── Admin: phones & small tablets → sidebar becomes a top nav bar ───────── */
@media (max-width: 820px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    min-height: 0;
    flex-direction: row;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  }
  .admin-logo {
    padding: 12px 16px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .admin-logo small { font-size: 0.5rem; }
  .admin-nav {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a {
    flex-direction: column;
    gap: 3px;
    padding: 8px 13px;
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .admin-nav a:hover, .admin-nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }
  .admin-nav a svg { width: 18px; height: 18px; }
  /* logout block: compact, pinned to the right of the bar */
  .admin-sidebar > div:last-child {
    border-top: none !important;
    padding: 8px 10px !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .admin-sidebar > div:last-child button { width: auto !important; padding: 8px 4px !important; white-space: nowrap; }
  .admin-main { overflow: visible; }
  .admin-topbar { padding: 14px 16px; flex-wrap: wrap; gap: 8px; }
  .admin-content { padding: 18px 14px; }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(201,169,110,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Apply to step panels */
.step-panel.active {
  animation: fadeInUp 0.35s cubic-bezier(0.4,0,0.2,1) both;
}

/* Chip hover effect */
.chip {
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.chip:not(.locked):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201,169,110,0.25);
}
.chip.active {
  animation: scaleIn 0.18s ease both;
}

/* Shape card hover */
.shape-card {
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.shape-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44,31,20,0.1);
}
.shape-card.active {
  transform: translateY(-2px);
}

/* Artist card */
.artist-card {
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.artist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,31,20,0.12);
}
.artist-card.active .artist-avatar {
  animation: pulse-gold 2s ease infinite;
}

/* Gallery items */
.gallery-item {
  transition: all 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
  z-index: 2;
}

/* Confirm icon float */
.confirm-icon {
  animation: float 3s ease-in-out infinite;
}

/* Step dots */
.step-dot {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.step-dot.active {
  transform: scale(1.15);
  animation: pulse-gold 2.5s ease infinite;
}

/* Buttons */
.btn--primary {
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160,120,64,0.35);
}
.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

/* near-footer removed — nav is now inline */

/* Hero animated gradient text */
.hero h1 em {
  background: linear-gradient(135deg, var(--warm-dk), var(--gold), var(--warm-dk));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Toast slide */
.toast {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Admin stat cards */
.stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(44,31,20,0.1);
}

/* Review stars */
.star-btn {
  transition: transform 0.15s cubic-bezier(0.4,0,0.2,1), filter 0.2s ease;
}
.star-btn.lit {
  animation: scaleIn 0.15s ease both;
}

/* Section fade in on scroll (JS-applied) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Qty stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--gold-lt); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--warm-dk);
  transition: all 0.15s ease; flex-shrink: 0;
}
.qty-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }
.qty-val {
  font-family: var(--font-display); font-size: 1.1rem;
  min-width: 24px; text-align: center; color: var(--warm-dk);
}
.qty-label { font-size: 0.72rem; color: var(--warm-lt); }

/* ── Site footer (shared by homepage + booking) ───────────────────────────── */
.site-footer {
  background: var(--warm-dk); color: rgba(255,255,255,0.65);
  padding: 40px 24px 28px; margin-top: 0;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-bottom: 28px; }
.footer-col h4 { font-family: var(--font-display); color: white; font-size: 1rem; margin-bottom: 12px; font-weight: 400; }
.footer-col a  { display: block; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.82rem; margin-bottom: 6px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-col p  { font-size: 0.82rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.75rem; }
.map-widget { border-radius: var(--radius-md); overflow: hidden; height: 180px; background: var(--nude); position: relative; margin-top: 8px; }
.map-widget iframe { width: 100%; height: 100%; border: 0; }

/* Social icons in footer */
.social-links {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px;
}
.social-link {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s ease;
  background: rgba(255,255,255,0.08);
}
.social-link:hover { background: var(--gold); transform: translateY(-2px); }
.social-link svg { width: 17px; height: 17px; }

/* ── Drag & drop reschedule ─────────────────────────────────────────────── */
.appt-chip { cursor: grab; touch-action: none; }
.appt-chip:active { cursor: grabbing; }
.appt-ghost {
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.92;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-radius: 4px;
}
.wk-drop-target {
  outline: 2px dashed var(--gold);
  outline-offset: -2px;
  background: var(--cream) !important;
}

/* ── Admin week-view cells: hover "+" to add appointment ────────────────── */
.wk-cell { position: relative; transition: background 0.12s; }
.wk-empty::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.15s ease, font-size 0.15s ease;
  pointer-events: none;
}
/* Desktop: reveal + grow on hover */
@media (hover: hover) {
  .wk-empty:hover { background: var(--cream) !important; }
  .wk-empty:hover::after { opacity: 0.6; font-size: 1.7rem; }
}
/* Touch devices: always show a faint, larger + (no hover available) */
@media (hover: none) {
  .wk-empty::after { opacity: 0.32; font-size: 1.5rem; }
  .wk-empty:active::after { opacity: 0.7; font-size: 1.9rem; }
}

/* ── Safari / Mac aspect-ratio fix ──────────────────────────────────────── */
/* Ensure aspect-ratio works in Safari by providing explicit width context  */
.cal-grid, .cal-grid2, .shape-grid {
  /* Safari: explicit width helps aspect-ratio */
  width: 100%;
}
/* Fallback for Safari < 15 that doesn't support aspect-ratio */
@supports not (aspect-ratio: 1) {
  .cal-cell, .cal-cell2 {
    padding-bottom: calc(100% - 2px);
    height: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   STEP TRANSITIONS — slide in/out
═══════════════════════════════════════════════════════ */
.step-panel {
  display: none;
  animation: none;
}
.step-panel.active {
  display: block;
}
.step-panel.slide-in-right {
  animation: slideInFromRight 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.step-panel.slide-in-left {
  animation: slideInFromLeft 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.step-panel.slide-out-left {
  animation: slideOutToLeft 0.28s cubic-bezier(0.4, 0, 0.6, 1) both;
}
.step-panel.slide-out-right {
  animation: slideOutToRight 0.28s cubic-bezier(0.4, 0, 0.6, 1) both;
}
@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutToLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-40px); }
}
@keyframes slideOutToRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

/* ═══════════════════════════════════════════════════════
   CHIP — unified pill design with bounce animation
═══════════════════════════════════════════════════════ */
.chip {
  border: 2px solid var(--gold-lt);
  border-radius: 100px;   /* fully pill-shaped */
  padding: 10px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(255,255,255,0.88);
  color: var(--warm-dk);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  transition: border-color 0.18s ease, background 0.18s ease,
              color 0.18s ease, box-shadow 0.18s ease,
              transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}
.chip:hover:not(.locked):not(.active) {
  border-color: var(--gold);
  background: rgba(255,255,255,0.98);
  transform: translateY(-1px);
}
.chip.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
  transform: scale(1.04);
}
.chip.active:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
}
.chip.locked {
  opacity: 0.35;
  cursor: not-allowed;
}
.chip .price {
  font-size: 0.78rem;
  opacity: 0.75;
}
.chip.active .price {
  opacity: 0.9;
}

/* Chip grid spacing */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════
   EXTRAS card — fixed-size, no layout shift
═══════════════════════════════════════════════════════ */
.extras-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
/* desktop: left-align so rows fill naturally (consistent with service chips) */
@media (min-width: 600px) { .extras-grid { justify-content: flex-start; } }
.extra-chip {
  border: 2px solid var(--gold-lt);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(255,255,255,0.88);
  color: var(--warm-dk);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  transition: border-color 0.18s ease, background 0.18s ease,
              color 0.18s ease, box-shadow 0.18s ease,
              transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  white-space: nowrap;
}
.extra-chip:hover:not(.active) {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.extra-chip.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
  transform: scale(1.04);
}
.extra-chip .price-tag {
  font-size: 0.75rem;
  opacity: 0.75;
  background: rgba(0,0,0,0.08);
  padding: 1px 6px;
  border-radius: 20px;
}
.extra-chip.active .price-tag {
  background: rgba(255,255,255,0.2);
  opacity: 1;
}
