/* ==========================================================================
   TOUCHED BY THIARA — LUXURY BEAUTY EDITORIAL SYSTEM
   Clean Modern Caribbean Chic • Zero Clutter • Zero Emojis
   ========================================================================== */

:root {
  --bg-deep: #08090c;
  --bg-surface: #101217;
  --bg-card: rgba(18, 20, 26, 0.85);
  --bg-card-hover: rgba(26, 30, 40, 0.95);
  --bg-glass: rgba(18, 20, 26, 0.72);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(244, 63, 94, 0.4);
  --border-card: rgba(255, 255, 255, 0.08);

  --accent-rose: #f43f5e;
  --accent-rose-hover: #e11d48;
  --accent-rose-light: #fda4af;
  --accent-rose-glow: rgba(244, 63, 94, 0.22);
  --accent-rose-subtle: rgba(244, 63, 94, 0.09);

  --accent-gold: #d4af37;
  --accent-gold-subtle: rgba(212, 175, 55, 0.12);
  --accent-gold-glow: rgba(212, 175, 55, 0.25);

  --accent-cyan: #0ea5e9;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-danger: #ef4444;

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dim: #4b5563;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-subtle);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.4);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   GLOBAL APP SHELL & VIEWPORT MODES
   ========================================================================== */

#app-viewport-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: radial-gradient(circle at 50% 0%, #17111a 0%, var(--bg-deep) 65%);
  padding-bottom: 90px;
}

/* ==========================================================================
   PHONE PREVIEW MOCKUP SYSTEM (IPHONE 16 PRO AESTHETIC)
   ========================================================================== */

#app-viewport-wrapper.phone-frame-active {
  padding-top: 24px;
  padding-bottom: 24px;
  background: radial-gradient(circle at 50% 10%, #201826 0%, #08090c 70%);
}

#app-viewport-wrapper.phone-frame-active .phone-mockup-frame {
  width: 395px;
  height: 830px;
  max-height: 90vh;
  border-radius: 52px;
  border: 12px solid #1e2026;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 35px 80px -15px rgba(0, 0, 0, 0.95),
    inset 0 0 0 2px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#app-viewport-wrapper.phone-frame-active .phone-mockup-frame::-webkit-scrollbar,
#app-viewport-wrapper.phone-frame-active *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Phone Hardware Elements */
.phone-dynamic-island {
  display: none;
}
#app-viewport-wrapper.phone-frame-active .phone-dynamic-island {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding-right: 12px;
  position: sticky;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 1200;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-bottom: -28px;
  pointer-events: none;
}

.island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.island-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #090b10;
}

.phone-status-bar {
  display: none;
}
#app-viewport-wrapper.phone-frame-active .phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding: 0 24px 0 28px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  z-index: 1100;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.phone-status-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Docked Top Header inside Phone */
#app-viewport-wrapper.phone-frame-active .app-top-header {
  position: sticky;
  top: 44px;
  z-index: 900;
  padding: 10px 14px !important;
  background: rgba(12, 14, 18, 0.94);
  backdrop-filter: blur(20px);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Hide desktop-only header navigation inside phone preview */
#app-viewport-wrapper.phone-frame-active .desktop-nav-links,
#app-viewport-wrapper.phone-frame-active .desktop-book-btn {
  display: none !important;
}

#app-viewport-wrapper.phone-frame-active .header-right-group .header-wa-btn span {
  display: none !important;
}

#app-viewport-wrapper.phone-frame-active .header-wa-btn {
  padding: 6px 10px !important;
}

/* Docked Bottom Navigation inside Phone */
#app-viewport-wrapper.phone-frame-active .app-bottom-nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: sticky !important;
  bottom: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 10px 8px 6px !important;
  background: rgba(12, 14, 19, 0.98) !important;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
  z-index: 950;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

#app-viewport-wrapper.phone-frame-active .nav-item {
  width: 100%;
  min-width: 0;
  padding-inline: 2px;
  text-align: center;
}

.phone-home-indicator {
  display: none;
}
#app-viewport-wrapper.phone-frame-active .phone-home-indicator {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: rgba(12, 14, 19, 0.98);
  z-index: 960;
  pointer-events: none;
}

.home-indicator-bar {
  width: 125px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

/* Phone View Responsive Adjustments */
#app-viewport-wrapper.phone-frame-active .app-view {
  padding: 14px 14px 28px !important;
}

#app-viewport-wrapper.phone-frame-active .hero-split-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

#app-viewport-wrapper.phone-frame-active .hero-text-col {
  order: 1 !important;
  width: 100% !important;
}

#app-viewport-wrapper.phone-frame-active .hero-media-col {
  order: 2 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-top: 6px !important;
}

#app-viewport-wrapper.phone-frame-active .hero-featured-image-card {
  width: 100% !important;
  max-width: 320px !important;
  height: 380px !important;
  margin: 0 auto !important;
}

#app-viewport-wrapper.phone-frame-active .hero-brand-title {
  font-size: 2.2rem !important;
  line-height: 1.05 !important;
}

#app-viewport-wrapper.phone-frame-active .hero-brand-title span.thiara-name {
  font-size: 2.2rem !important;
}

#app-viewport-wrapper.phone-frame-active .hero-cta-group {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

#app-viewport-wrapper.phone-frame-active .hero-cta-group .btn {
  width: 100% !important;
}

#app-viewport-wrapper.phone-frame-active .hero-thumbs-switcher {
  justify-content: center !important;
  margin-top: 14px !important;
}

#app-viewport-wrapper.phone-frame-active .styles-grid,
#app-viewport-wrapper.phone-frame-active .full-gallery-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

#app-viewport-wrapper.phone-frame-active .style-card-image {
  height: 250px !important;
}

#app-viewport-wrapper.phone-frame-active .category-big-card {
  height: 240px;
}

.phone-mockup-frame {
  width: 100%;
  max-width: 980px;
  min-height: 100vh;
  margin: 0 auto;
}

/* Top Demo Control Bar */
.demo-control-bar {
  width: 100%;
  background: rgba(10, 11, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  z-index: 1000;
  position: sticky;
  top: 0;
}

.demo-bar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-rose);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-rose);
  animation: pulse 2.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.demo-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-demo-toggle {
  background: var(--accent-rose-subtle);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.28);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-demo-toggle:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

.btn-frame-toggle {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.btn-frame-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */

.app-top-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 900;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.header-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.brand-meta-group {
  display: flex;
  flex-direction: column;
}

.brand-main-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-location-tag {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav-links {
  display: none;
}

.desktop-book-btn {
  display: none;
}

@media (min-width: 769px) {
  .desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .desktop-nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
  }

  .desktop-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .desktop-nav-link.active {
    color: var(--accent-rose);
    background: var(--accent-rose-subtle);
  }

  .desktop-book-btn {
    display: inline-flex;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 700;
  }
}

.header-wa-btn {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.header-wa-btn:hover {
  background: #10b981;
  color: #000;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION (HIDDEN ABOVE 768PX)
   ========================================================================== */

.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 580px;
  background: rgba(12, 14, 19, 0.94);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 14px 14px;
  z-index: 950;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

@media (min-width: 769px) {
  .app-bottom-nav {
    display: none !important;
  }
  .phone-home-indicator {
    display: none !important;
  }
  #client-app-container {
    padding-bottom: 40px !important;
  }
}

#app-viewport-wrapper.phone-frame-active .app-bottom-nav {
  display: flex !important;
}

#app-viewport-wrapper.phone-frame-active .phone-home-indicator {
  display: flex !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-item.active {
  color: var(--accent-rose);
}
.nav-item.active .nav-icon {
  transform: translateY(-2px);
  color: var(--accent-rose);
  filter: drop-shadow(0 2px 8px var(--accent-rose-glow));
}

/* Central Prominent BOOK Action */
.nav-item-book {
  position: relative;
  top: -12px;
}

.nav-item-book .book-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 8px 22px var(--accent-rose-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid var(--bg-deep);
}

.nav-item-book:hover .book-circle-btn,
.nav-item-book.active .book-circle-btn {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(244, 63, 94, 0.5);
}

.nav-item-book span.nav-label {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 2px;
}

/* Compact app shell for real phone screens. Desktop and framed preview keep
   their existing presentation above this breakpoint. */
@media (max-width: 768px) {
  #app-viewport-wrapper {
    min-width: 0;
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .phone-mockup-frame,
  #client-app-container {
    width: 100%;
    min-width: 0;
  }

  .demo-control-bar {
    min-height: 52px;
    max-height: 56px;
    padding: 7px 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .demo-bar-badge {
    flex: 0 0 auto;
    gap: 6px;
    font-size: 0;
    white-space: nowrap;
  }

  .demo-bar-badge span:last-child::after {
    content: "SALES DEMO";
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .demo-bar-actions {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 4px;
  }

  .btn-frame-toggle,
  .btn-demo-toggle {
    min-width: 42px;
    min-height: 36px;
    justify-content: center;
    padding: 5px 7px;
    gap: 4px;
    font-size: 0.66rem;
    line-height: 1;
    white-space: nowrap;
  }

  #device-frame-toggle-btn span,
  #mode-toggle-btn span {
    font-size: 0;
  }

  #device-frame-toggle-btn span::after {
    content: "Phone";
    font-size: 0.66rem;
  }

  #mode-toggle-btn span::after {
    content: "Thiara";
    font-size: 0.66rem;
  }

  .app-top-header {
    top: 0;
    min-height: 64px;
    padding: 9px 12px;
    gap: 8px;
  }

  .brand-identity {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }

  .header-brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .brand-meta-group {
    min-width: 0;
  }

  .brand-main-name {
    font-size: clamp(0.72rem, 3.25vw, 0.88rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand-location-tag {
    max-width: 150px;
    margin-top: 2px;
    font-size: 0.6rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-location-tag svg {
    flex: 0 0 auto;
  }

  .header-right-group {
    flex: 0 0 auto;
    gap: 5px;
  }

  .header-wa-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }

  .header-wa-btn span {
    display: none;
  }

  .desktop-book-btn {
    display: inline-flex;
    min-width: 62px;
    min-height: 36px;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.7rem;
    line-height: 1;
    white-space: nowrap;
  }

  .app-view {
    min-width: 0;
    padding: 14px 20px 32px;
  }

  .home-hero-section {
    padding-top: 4px;
    margin-bottom: 12px;
  }

  .hero-split-grid {
    gap: 20px;
  }

  .hero-brand-title,
  .hero-brand-title span.thiara-name {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .hero-location-line {
    max-width: 100%;
    margin-bottom: 18px;
    white-space: nowrap;
  }

  .app-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    width: 100%;
    max-width: none;
    height: calc(82px + env(safe-area-inset-bottom, 0px));
    min-height: 0;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .nav-item {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    justify-content: center;
    gap: 3px;
    padding: 4px 1px;
    font-size: clamp(0.55rem, 2.6vw, 0.67rem);
    line-height: 1;
    text-align: center;
  }

  .nav-item .nav-label {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-item-book {
    top: -7px;
  }

  .nav-item-book .book-circle-btn {
    width: 58px;
    height: 58px;
  }

  .nav-item-book span.nav-label {
    margin-top: 0;
  }
}

@media (max-width: 374px) {
  .demo-control-bar {
    padding-inline: 7px;
  }

  .demo-bar-badge span:last-child::after {
    content: "DEMO";
  }

  .btn-frame-toggle,
  .btn-demo-toggle {
    min-width: 39px;
    padding-inline: 5px;
  }

  .app-top-header {
    padding-inline: 10px;
  }

  .brand-location-tag {
    max-width: 124px;
  }

  .desktop-book-btn {
    min-width: 56px;
    padding-inline: 8px;
  }

  .desktop-book-btn span {
    display: none;
  }

  .desktop-book-btn::after {
    content: "BOOK";
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   MAIN VIEWS
   ========================================================================== */

.app-view {
  display: none;
  width: 100%;
  padding: 18px 20px 40px;
  animation: fadeIn 0.25s ease;
}

.app-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HOMEPAGE VIEW
   ========================================================================== */

.home-hero-section {
  padding: 8px 0 20px;
  margin-bottom: 18px;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 769px) {
  .hero-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-rose-subtle);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: var(--accent-rose-light);
  padding: 4px 13px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.hero-brand-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-brand-title span.thiara-name {
  color: var(--accent-rose);
  display: block;
  font-size: 2.8rem;
}

.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 10px;
  max-width: 480px;
}

.hero-location-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 22px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-primary-cta {
  padding: 13px 28px;
  font-size: 0.94rem;
  font-weight: 800;
}

.hero-whatsapp-cta {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.hero-explore-link {
  margin-top: 4px;
}

.text-link-arrow {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 3px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(244, 63, 94, 0.35);
}

.text-link-arrow:hover {
  color: #fff;
  border-bottom-color: var(--accent-rose);
  transform: translateX(4px);
}

.hero-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero-featured-image-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 45px -10px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #000;
  margin: 0 auto;
}

.hero-featured-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: opacity 0.3s ease, transform 0.4s ease;
  display: block;
}

.hero-image-caption-pill {
  position: absolute;
  bottom: 14px;
  left: 12px;
  right: 12px;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 6px var(--accent-rose);
  animation: pulse 2s infinite ease-in-out;
}

.hero-thumbs-switcher {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-thumb-btn {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: #000;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hero-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb-btn.active,
.hero-thumb-btn:hover {
  border-color: var(--accent-rose);
  transform: scale(1.06);
  box-shadow: 0 4px 14px var(--accent-rose-glow);
}

/* Mobile & Phone Preview layout: Media below headline and booking button */
@media (max-width: 768px) {
  .hero-split-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .hero-text-col {
    order: 1;
  }
  .hero-media-col {
    order: 2;
  }
  .hero-featured-image-card {
    max-width: 270px;
    height: 320px;
  }
  .hero-brand-title {
    font-size: 2.2rem;
  }
  .hero-brand-title span.thiara-name {
    font-size: 2.2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-whatsapp-cta {
    justify-content: center;
  }
}

/* Mission Statement Card */
.mission-statement-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(18, 20, 26, 0.85) 100%);
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.mission-quote-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent-rose);
  opacity: 0.28;
  position: absolute;
  top: 10px;
  left: 14px;
  pointer-events: none;
}

.mission-text {
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.mission-signature {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  position: relative;
  z-index: 2;
}

.live-ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: var(--accent-rose);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.live-ig-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 6px var(--accent-rose);
  animation: pulse 1.8s infinite ease-in-out;
}
.quick-info-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.qi-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.qi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-rose-subtle);
  color: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qi-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: #fff;
}

.qi-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.qi-links-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.qi-link-pill {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.qi-link-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.qi-link-pill.pill-wa {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}
.qi-link-pill.pill-ig {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.25);
  background: rgba(251, 113, 133, 0.06);
}

/* Find Your Style Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-header h3,
.section-header h2 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.find-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.category-app-card {
  position: relative;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.category-app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
}

.cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.category-app-card:hover .cat-bg {
  transform: scale(1.05);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(8, 9, 12, 0.9) 82%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 2;
}

.cat-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 2px;
}

.cat-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.cat-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Horizontal Gallery Carousel (Recently Touched) */
.gallery-carousel-wrap {
  position: relative;
  margin-bottom: 28px;
}

.horizontal-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.horizontal-carousel::-webkit-scrollbar {
  height: 4px;
}
.horizontal-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.gallery-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
}

.gallery-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gallery-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   STYLES CATALOG
   ========================================================================== */

.catalog-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-filter-btn.active {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
  box-shadow: 0 4px 14px var(--accent-rose-glow);
}

.styles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 960px) {
  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 580px) {
  .full-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 860px) {
  .full-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1140px) {
  .full-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.full-grid-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.full-grid-item .gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background: #0a0c10;
  flex-shrink: 0;
}

.full-grid-item .gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.full-grid-item .gallery-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.full-grid-item .gallery-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

.full-grid-item .gallery-info p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  height: 4.35em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.full-grid-item .gallery-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.full-grid-item .gallery-actions-row .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 8px 6px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.style-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.style-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.style-card-image {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #0a0c10;
  flex-shrink: 0;
}

.style-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.style-card:hover .style-card-image img {
  transform: scale(1.04);
}

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.style-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.style-card-top h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex: 1;
}

.style-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-rose);
  white-space: nowrap;
  background: var(--accent-rose-subtle);
  border: 1px solid rgba(244, 63, 94, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hair-preview-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.style-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.style-card-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   MULTI-STEP BOOKING FLOW
   ========================================================================== */

.booking-progress-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 24px;
  padding: 0 10px;
}

.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.b-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition);
}

.b-step-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-progress-step.active .b-step-num {
  border-color: var(--accent-rose);
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 0 10px var(--accent-rose-glow);
}
.booking-progress-step.active .b-step-title {
  color: #fff;
}

.booking-progress-step.completed .b-step-num {
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  background: var(--accent-rose-subtle);
}

.step-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-rose);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.category-big-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid var(--border-card);
  transition: var(--transition);
}
.category-big-card:hover,
.category-big-card.selected {
  border-color: var(--accent-rose);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px var(--accent-rose-glow);
}

.card-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.category-big-card:hover .card-bg-img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(8, 9, 12, 0.94) 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.card-overlay h3 {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.btn-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-rose);
}

/* Step 2 Hairstyle Picker */
.booking-styles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-style-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.booking-style-item:hover,
.booking-style-item.selected {
  border-color: var(--accent-rose);
  background: var(--bg-card-hover);
  transform: translateX(3px);
}

.item-img {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
}
.item-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
}

.item-select-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-rose);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-rose-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Step 3 Customize Options */
.customize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .customize-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.opt-group {
  margin-bottom: 20px;
}

.opt-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.opt-pills-row,
.color-palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-pill,
.color-chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.opt-pill.active,
.color-chip.active {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  color: #fff;
  box-shadow: 0 4px 12px var(--accent-rose-glow);
}

.pill-delta {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.addons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addon-checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
}
.addon-checkbox-card.checked {
  border-color: var(--accent-rose);
  background: var(--accent-rose-subtle);
}

.addon-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Sidebar Live Booking Summary */
.summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-card);
}

.summary-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.summary-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #000;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 14px 0;
}

.summary-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

/* THE HAIR GUIDE (SPEC 17) */
.hair-guide-callout {
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-md);
  padding: 14px;
}

.hg-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.badge-hair-highlight {
  background: var(--accent-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.hg-items {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Step 4 Date & Time */
.date-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 10px;
}

.date-pill {
  flex: 0 0 76px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}
.date-pill:hover,
.date-pill.active {
  border-color: var(--accent-rose);
  background: var(--accent-rose-subtle);
  color: #fff;
}
.date-pill.active {
  background: var(--accent-rose);
  box-shadow: 0 4px 14px var(--accent-rose-glow);
}

.dp-day {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.dp-num {
  font-size: 1.25rem;
  font-weight: 800;
}
.dp-month {
  font-size: 0.68rem;
}
.dp-tag {
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.14);
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 3px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}

.time-slot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}
.time-slot-card:hover,
.time-slot-card.active {
  border-color: var(--accent-rose);
  background: var(--accent-rose-subtle);
}
.time-slot-card.active {
  background: var(--accent-rose);
  box-shadow: 0 4px 14px var(--accent-rose-glow);
}
.time-slot-card.active .ts-status {
  color: #fff !important;
}

.time-slot-card.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.35);
  border-color: transparent;
}

.ts-time {
  font-weight: 700;
  font-size: 0.88rem;
}
.ts-status {
  font-size: 0.68rem;
}

/* Step 5 Returning Client Banner */
.client-recognized-banner {
  display: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(244, 63, 94, 0.08));
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  animation: fadeIn 0.35s ease;
}
.client-recognized-banner.show {
  display: block;
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  cursor: pointer;
}
.policy-check-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-rose);
  width: 16px;
  height: 16px;
}

/* Step 6 Deposit Simulation */
.deposit-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.d-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.d-row.highlight-deposit {
  padding: 10px;
  background: var(--accent-rose-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.sim-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: var(--radius-sm);
}

/* Step 7 Confirmation */
.booking-confirmation-view {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.conf-celebration {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.conf-icon-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 0 26px var(--accent-rose-glow);
  color: #fff;
}

.conf-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-rose);
}

.conf-grid-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.cg-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}
.cg-val {
  font-size: 0.92rem;
}

.conf-location-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   CLIENT "MY APPOINTMENTS" VIEW (CLEAN VISITOR EXPERIENCE)
   ========================================================================== */

.customer-appts-view {
  max-width: 680px;
  margin: 0 auto;
}

.appts-lookup-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.lookup-input-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.empty-appts-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.empty-appts-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-rose-subtle);
  color: var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-appt-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.customer-appt-card:hover {
  border-color: var(--border-focus);
}

.c-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ref-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-rose);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 2px;
}

.c-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.cm-col .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
}
.cm-col .val {
  font-size: 0.9rem;
}

.c-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   OWNER DASHBOARD (THIARA'S VIEW)
   ========================================================================== */

#owner-app-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.owner-dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .owner-dashboard-layout {
    grid-template-columns: 1fr;
  }
}

.owner-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  height: fit-content;
}

.owner-brand-pill {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.owner-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.owner-sidebar-nav .nav-item {
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  width: 100%;
  text-align: left;
}
.owner-sidebar-nav .nav-item:hover,
.owner-sidebar-nav .nav-item.active {
  background: var(--accent-rose-subtle);
  color: #fff;
}
.owner-sidebar-nav .nav-item.active {
  border-left: 3px solid var(--accent-rose);
}

@media (max-width: 768px) {
  body.mode-owner #app-viewport-wrapper {
    padding-bottom: 20px;
  }

  #owner-app-container {
    max-width: 100%;
    padding: 12px;
    overflow: hidden;
  }

  .owner-dashboard-layout,
  .owner-dashboard-layout > *,
  #owner-main-content,
  #owner-main-content > * {
    width: 100%;
    min-width: 0;
  }

  .owner-dashboard-layout {
    gap: 14px;
  }

  .owner-sidebar {
    padding: 14px 10px 10px;
    border-radius: var(--radius-md);
  }

  .owner-brand-pill {
    padding: 0 4px 12px;
    margin-bottom: 10px;
  }

  .owner-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .owner-sidebar-nav .nav-item {
    min-width: 0;
    min-height: 44px;
    padding: 8px 9px;
    gap: 7px;
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: normal;
  }

  .owner-sidebar-nav .nav-item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }

  .owner-sidebar-nav > div:last-child {
    grid-column: 1 / -1;
    margin-top: 4px !important;
    padding-top: 10px !important;
  }

  .owner-header-card {
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 14px;
  }

  .owner-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .owner-quick-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }

  .metrics-grid,
  .clients-grid,
  .services-admin-grid,
  .gallery-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-title-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }

  .page-title-row h2,
  .page-title-row p {
    overflow-wrap: anywhere;
  }

  .page-title-row .btn {
    width: 100%;
    min-height: 44px;
  }

  .gallery-admin-grid {
    display: grid;
    width: 100%;
    gap: 14px;
  }

  .services-admin-grid {
    display: grid;
    width: 100%;
    gap: 14px;
  }

  .service-admin-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
  }

  .service-admin-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d0f14;
  }

  .service-admin-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .service-admin-img .category-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
  }

  .service-admin-body {
    min-width: 0;
    padding: 14px;
  }

  .service-admin-body h3,
  .service-admin-body p,
  .hair-req-mini {
    overflow-wrap: anywhere;
  }

  .service-specs-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-admin-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
  }

  .gal-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d0f14;
  }

  .gal-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }

  .gal-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 4px 9px;
    overflow: hidden;
    color: #fff;
    background: rgba(8, 9, 12, 0.84);
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gal-body {
    min-width: 0;
    padding: 14px;
  }

  .gal-body h4,
  .gal-body p {
    overflow-wrap: anywhere;
  }

  .gal-actions,
  .c-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .gal-actions .btn,
  .c-card-actions .btn {
    width: 100%;
  }

  .calendar-toolbar,
  .calendar-date-nav,
  .timeline-top-row,
  .event-footer,
  .control-row {
    min-width: 0;
  }

  .calendar-toolbar {
    align-items: stretch;
    padding: 12px;
  }

  .calendar-date-nav {
    justify-content: space-between;
    width: 100%;
  }

  .week-calendar-container {
    overflow-x: auto;
  }

  .week-header-row,
  .week-grid-cols {
    min-width: 560px;
  }

  .client-crm-card,
  .service-admin-card,
  .owner-appt-card,
  .timeline-item {
    min-width: 0;
  }
}

.owner-header-card {
  background: linear-gradient(135deg, rgba(26, 18, 28, 0.9), rgba(16, 18, 23, 0.9));
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.owner-greeting-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-rose);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.metric-card.highlight-gold {
  border-color: rgba(212, 175, 55, 0.28);
  background: var(--accent-gold-subtle);
}

.metric-title {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Timeline */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
}
.timeline-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateX(3px);
}
.timeline-item.item-waived {
  border-left: 3px solid var(--accent-gold);
}
.timeline-item.item-walkin {
  border-left: 3px solid var(--accent-cyan);
}
.timeline-item.timeline-block {
  opacity: 0.6;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px);
}

.timeline-time {
  display: flex;
  flex-direction: column;
  min-width: 60px;
}
.time-start {
  font-size: 0.94rem;
  font-weight: 800;
}
.time-end {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-rose { background: var(--accent-rose); box-shadow: 0 0 8px var(--accent-rose-glow); }
.dot-gold { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold-glow); }
.dot-cyan { background: var(--accent-cyan); }
.dot-block { background: var(--text-muted); }

.timeline-body {
  flex: 1;
}

.timeline-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Proportional Calendar View */
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.calendar-date-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.toggle-btn {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.toggle-btn.active {
  background: var(--accent-rose);
  color: #fff;
}

.day-calendar-container {
  display: grid;
  grid-template-columns: 75px 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.day-time-scale {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
}

.time-scale-label {
  height: 80px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.day-grid-track {
  position: relative;
  height: 1040px;
  background: rgba(10, 12, 16, 0.4);
  cursor: crosshair;
}

.hour-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.calendar-event-block {
  position: absolute;
  left: 10px;
  right: 14px;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s ease;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.calendar-event-block:hover {
  transform: translateY(-2px);
  z-index: 20;
}

.event-booked {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.88), rgba(190, 24, 93, 0.9));
  border: 1px solid rgba(253, 164, 175, 0.35);
  color: #fff;
}
.event-waived {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.88), rgba(161, 98, 7, 0.9));
  border: 1px solid rgba(254, 240, 138, 0.4);
  color: #000;
}
.event-walkin {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.88), rgba(3, 105, 161, 0.9));
  border: 1px solid rgba(186, 230, 253, 0.4);
  color: #fff;
}
.event-blocked {
  background: rgba(38, 42, 54, 0.7);
  border: 1px dashed var(--text-muted);
  color: var(--text-secondary);
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.event-client-name {
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: 2px;
}
.event-style-name {
  font-size: 0.76rem;
  opacity: 0.9;
}
.event-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-top: 6px;
  font-weight: 600;
}

/* Week View */
.week-calendar-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.week-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
}

.week-day-col-header {
  padding: 12px 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.week-day-col-header.is-selected {
  background: var(--accent-rose-subtle);
  color: var(--accent-rose);
}
.week-day-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
}
.week-day-num {
  font-size: 1.05rem;
  font-weight: 800;
}

.week-grid-cols {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 400px;
}

.week-col {
  border-right: 1px solid var(--border-subtle);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.week-col-selected {
  background: rgba(244, 63, 94, 0.02);
}

.week-mini-event {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px;
  font-size: 0.68rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.week-mini-event.mini-waived { border-left: 2px solid var(--accent-gold); }
.week-mini-event.mini-walkin { border-left: 2px solid var(--accent-cyan); }
.mini-time { font-weight: 700; color: var(--accent-rose); }
.mini-name { font-weight: 600; }
.mini-style { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* CRM & Client Management */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.client-crm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.client-crm-card.is-vip {
  border-color: rgba(212, 175, 55, 0.35);
}

.client-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #be185d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.client-avatar.lg {
  width: 52px;
  height: 52px;
  font-size: 1.15rem;
}

.client-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  text-align: center;
}

.c-stat .stat-num {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}
.c-stat .stat-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.client-controls-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.control-row.highlight-control {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #374151;
  transition: .3s;
  border-radius: 22px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent-rose); }
input:checked + .slider:before { transform: translateX(20px); }

.client-note-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.note-lbl {
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

/* ==========================================================================
   BUTTONS & FORM ELEMENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-rose-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.38);
}

.btn-secondary {
  background: var(--bg-surface);
  color: #fff;
  border-color: var(--border-card);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-whatsapp {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}
.btn-outline-whatsapp:hover {
  background: #10b981;
  color: #000;
}

.btn-success { background: var(--accent-emerald); color: #fff; }
.btn-danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }

.btn-sm { padding: 6px 12px; font-size: 0.78rem; border-radius: var(--radius-xs); }
.btn-xs { padding: 4px 8px; font-size: 0.7rem; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 24px; font-size: 0.98rem; border-radius: var(--radius-sm); }
.btn-icon { display: flex; align-items: center; }
.w-100 { width: 100%; }

/* Form inputs */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  background: rgba(12, 14, 18, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.88rem;
  transition: var(--transition);
}
.input:focus {
  outline: none;
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 2px var(--accent-rose-glow);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-rose { background: var(--accent-rose-subtle); color: var(--accent-rose); border: 1px solid rgba(244, 63, 94, 0.28); }
.badge-gold { background: var(--accent-gold-subtle); color: var(--accent-gold); border: 1px solid rgba(212, 175, 55, 0.28); }
.badge-cyan { background: rgba(14, 165, 233, 0.12); color: var(--accent-cyan); border: 1px solid rgba(14, 165, 233, 0.28); }
.badge-success { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.28); }
.badge-muted { background: rgba(255, 255, 255, 0.06); color: var(--text-secondary); }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-sm { max-width: 400px; }
.modal-md { max-width: 540px; }
.modal-lg { max-width: 800px; }

@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-body { padding: 20px; }

.modal-hero-image {
  width: 100%;
  max-width: 380px;
  height: 440px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0f14;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.modal-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .modal-hero-image {
    height: 350px;
  }
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.btn-close:hover { color: #fff; }

/* Toast */
.toast-notification {
  position: fixed;
  top: 55px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(16, 18, 24, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-rose);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  z-index: 3000;
  opacity: 0;
  transition: all 0.28s ease;
  pointer-events: none;
}
.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Helpers */
.hidden { display: none !important; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.text-accent { color: var(--accent-rose); }
.text-gold { color: var(--accent-gold); }
.text-success { color: var(--accent-emerald); }
.text-danger { color: var(--accent-danger); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.cursor-pointer { cursor: pointer; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.max-w-500 { max-width: 500px; }
.mx-auto { margin-left: auto; margin-right: auto; }
