/* ==========================================================================
   ROCHA BARBER - AGENDAMENTO ONLINE (INBARBER STYLE)
   Visual Design & UI/UX Styling System
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    --bg-main: #0a0d14;
    --bg-surface: #11151f;
    --bg-surface-elevated: #161c28;
    --bg-card: rgba(22, 28, 40, 0.75);
    --bg-card-hover: rgba(30, 38, 54, 0.9);
    --bg-input: #0d121c;
    
    --accent-gold: #e5b842;
    --accent-gold-light: #f5cf6d;
    --accent-gold-dark: #b88d23;
    --accent-gold-glow: rgba(229, 184, 66, 0.25);
    --accent-gold-gradient: linear-gradient(135deg, #f5cf6d 0%, #e5b842 50%, #c99320 100%);
    
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --accent-green-glow: rgba(16, 185, 129, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-gold: #f5cf6d;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(229, 184, 66, 0.35);
    --border-gold-active: #e5b842;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 8px 25px rgba(229, 184, 66, 0.22);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --max-width: 580px;
}

/* Reset & Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(229, 184, 66, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(30, 41, 59, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(229, 184, 66, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Confetti Layer */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* Main App Wrapper (Responsive Mobile Frame for Desktop) */
.app-wrapper {
    width: 100%;
    max-width: var(--max-width);
    min-height: 100vh;
    background: #0d111a;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Header & Brand Banner */
.app-header {
    background: linear-gradient(180deg, #131824 0%, #0d111a 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 16px 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 14px var(--accent-gold-glow);
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.badge-verified {
    color: var(--accent-gold);
    font-size: 0.95rem;
}

.brand-sub {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 2px;
}

.status-badge-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-green);
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-green);
    flex-shrink: 0;
}

.status-text {
    font-size: 0.76rem;
    color: var(--accent-green);
    font-weight: 600;
    line-height: 1.2;
}

.status-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

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

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.icon-btn:hover {
    background: rgba(229, 184, 66, 0.15);
    color: var(--accent-gold);
    border-color: var(--border-gold);
    transform: translateY(-1px);
}

.badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-gold);
}

/* Hero Banner */
.hero-card {
    margin-top: 14px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 125px;
    border: 1px solid var(--border-subtle);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 17, 26, 0.4) 0%, rgba(13, 17, 26, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mode Switcher */
.mode-toggle-container {
    margin-top: 12px;
}

.mode-toggle-track {
    background: #090c12;
    padding: 4px;
    border-radius: var(--radius-pill);
    display: flex;
    border: 1px solid var(--border-subtle);
}

.mode-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.mode-btn.active {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-btn.active#btnModeChat {
    color: var(--accent-gold);
}

.badge-new {
    background: var(--accent-gold-gradient);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* Stepper Progress Bar */
.stepper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 4px 4px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0a0d14;
    border: 2px solid #252e3e;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: var(--transition-bounce);
}

.step-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.step-item.active .step-circle {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 14px var(--accent-gold-glow);
    transform: scale(1.08);
}

.step-item.active .step-label {
    color: var(--accent-gold);
}

.step-item.completed .step-circle {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.step-item.completed .step-label {
    color: var(--text-secondary);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #252e3e;
    margin: 0 4px 16px;
    position: relative;
    transition: var(--transition-normal);
}

.step-line.completed {
    background: var(--accent-gold);
}

/* Main Content Views */
.app-main {
    flex: 1;
    padding: 16px 16px 110px; /* Space for bottom sticky cart */
}

.view-panel {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.step-section {
    display: none;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-section.active {
    display: block;
}

/* Section Header */
.section-header {
    margin-bottom: 16px;
}

.section-nav {
    margin-bottom: 10px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.back-btn:hover {
    background: rgba(229, 184, 66, 0.12);
    color: var(--accent-gold);
    border-color: var(--border-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Search Bar */
.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 11px 40px 11px 40px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: var(--transition-normal);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 16px var(--accent-gold-glow);
    background: #11151f;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
}

/* Category Filter Pills */
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 8px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex-shrink: 0;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.category-pill:hover {
    border-color: rgba(229, 184, 66, 0.3);
    color: var(--text-primary);
}

.category-pill.active {
    background: var(--accent-gold-gradient);
    color: #0d1117;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 3px 12px var(--accent-gold-glow);
}

/* Services Cards Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 11px 12px;
    display: flex;
    gap: 10px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(12px);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(229, 184, 66, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card.selected {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.08);
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.service-thumb-wrap {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-thumb {
    transform: scale(1.06);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.service-info-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 3;
}

.service-info-btn:hover {
    background: rgba(229, 184, 66, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: scale(1.12);
}

.service-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    padding-right: 26px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.service-description {
    font-size: 0.77rem;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.service-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.service-price-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.service-duration {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.service-action-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.service-card.selected .service-action-btn {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    font-weight: 700;
}

/* Professionals Selection */
.professionals-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.barber-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.barber-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(229, 184, 66, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.barber-card.selected {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.09);
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.barber-avatar-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
}

.barber-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.barber-card.selected .barber-avatar {
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px var(--accent-gold-glow);
}

.barber-any-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px dashed var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.barber-info {
    flex: 1;
    min-width: 0;
}

.barber-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.barber-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.barber-role {
    font-size: 0.78rem;
    color: var(--accent-gold);
    font-weight: 500;
    margin-top: 1px;
}

.barber-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.barber-check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #252e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: var(--transition-bounce);
}

.barber-card.selected .barber-check-icon {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
    transform: scale(1.05);
}

/* Step 3: Date and Time Section */
.selected-barber-pill {
    background: rgba(229, 184, 66, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.selected-barber-pill strong {
    color: var(--accent-gold);
}

.date-picker-section {
    margin-bottom: 20px;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.picker-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.current-month-label {
    font-size: 0.78rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.date-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.date-carousel::-webkit-scrollbar {
    display: none;
}

.date-card {
    flex: 0 0 68px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    user-select: none;
}

.date-card:hover:not(.disabled) {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.date-card.selected {
    background: var(--accent-gold-gradient);
    border-color: transparent;
    color: #000;
    box-shadow: 0 4px 18px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.date-day-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.date-card.selected .date-day-name {
    color: #1e293b;
}

.date-day-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 2px 0;
    color: var(--text-primary);
}

.date-card.selected .date-day-num {
    color: #000;
}

.date-relative-badge {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.date-card.selected .date-relative-badge {
    color: #000;
    font-weight: 800;
}

.date-card.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Time Slots */
.time-slots-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    backdrop-filter: blur(12px);
}

.slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.slots-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.time-period-group {
    margin-bottom: 16px;
}

.time-period-group:last-child {
    margin-bottom: 0;
}

.period-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.time-slot-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-normal);
}

.time-slot-btn:hover:not(:disabled) {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.12);
    color: var(--accent-gold);
    transform: scale(1.03);
}

.time-slot-btn.selected {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 14px var(--accent-gold-glow);
    transform: scale(1.05);
}

.time-slot-btn:disabled {
    opacity: 0.25;
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Step 4: Client Identification Form */
.client-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label, .form-label-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #ef4444;
}

.optional {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 16px var(--accent-gold-glow);
    background: #0d121c;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.phone-input-wrapper:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 16px var(--accent-gold-glow);
}

.phone-prefix {
    padding: 0 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    border-right: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    height: 100%;
}

.phone-input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.form-error {
    font-size: 0.74rem;
    color: #ef4444;
    display: none;
}

/* Payment Method Cards */
.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.payment-option input {
    display: none;
}

.payment-option-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.payment-option-card i {
    font-size: 1.2rem;
}

.payment-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.payment-tag {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.payment-option input:checked + .payment-option-card {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.12);
    box-shadow: 0 0 14px var(--accent-gold-glow);
}

.payment-option input:checked + .payment-option-card .payment-name {
    color: var(--accent-gold);
}

/* Checkbox Container */
.form-checkbox-row {
    margin-top: 4px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent-gold);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

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

/* Step 5: Summary Digital Ticket */
.ticket-card {
    background: #141a27;
    border: 1px solid rgba(229, 184, 66, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.ticket-header {
    background: linear-gradient(135deg, #1c2436 0%, #121724 100%);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.ticket-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
}

.ticket-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-subtitle {
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-weight: 500;
    display: block;
}

.ticket-seal {
    font-size: 1.5rem;
    opacity: 0.8;
}

.ticket-body {
    padding: 16px;
}

.ticket-row-highlight {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ticket-barber-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-gold);
}

.ticket-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 2px;
}

.ticket-value-bold {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ticket-value {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-gold {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
}

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

.ticket-services-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.ticket-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 4px 0;
}

.ticket-service-name {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-service-price {
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-value-italic {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Ticket Tear Notches */
.ticket-tear-line {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.tear-notch {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0d111a; /* Match app-wrapper bg */
    border-radius: 50%;
    z-index: 3;
}

.tear-notch.left {
    left: -10px;
    box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.5);
}

.tear-notch.right {
    right: -10px;
    box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.5);
}

.tear-dashed {
    width: 100%;
    height: 1px;
    border-top: 2px dashed rgba(255, 255, 255, 0.12);
}

.ticket-footer {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
}

.ticket-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.total-duration {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.total-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.text-right {
    text-align: right;
}

.booking-guarantee-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: var(--text-muted);
    background: rgba(229, 184, 66, 0.05);
    border: 1px solid rgba(229, 184, 66, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 16px;
}

/* Step 5: Sticky Floating Confirm Bar */
.sticky-confirm-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background: rgba(13, 17, 26, 0.95);
    border-top: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 16px;
    z-index: 99;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition-normal);
}

.confirm-bar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-confirm-action {
    width: 100%;
    background: var(--accent-gold-gradient);
    border: none;
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
    transition: var(--transition-bounce);
}

.btn-confirm-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(229, 184, 66, 0.45);
}

.btn-confirm-action:active {
    transform: translateY(1px);
}

/* Step 6: Success Screen & Voucher */
.success-screen {
    text-align: center;
    padding: 10px 0;
}

.success-icon-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 30px var(--accent-green-glow);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.success-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.voucher-code-card {
    background: #141a27;
    border: 1px dashed var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 12px;
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.voucher-code-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.voucher-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.voucher-code {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-secondary);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy-code:hover {
    color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.15);
}

.success-card-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.success-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}

.success-summary-item strong {
    color: var(--text-primary);
    display: block;
}

.item-muted {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-action-primary {
    background: #25d366;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-bounce);
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-action-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.btn-action-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-action-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 11px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-action-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-action-ghost:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   INBARBER CHATBOT MODAL & FLOATING FAB STYLING
   ========================================================================== */
.modal-chat-dialog {
    max-width: 460px;
    height: 85vh;
    max-height: 640px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: #0e131d;
}

.modal-chat-dialog .chat-container {
    height: 100%;
    min-height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.chat-container {
    background: #0e131d;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 75vh;
    min-height: 520px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat-header-bar {
    background: #141b27;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Floating Fixed Chat Trigger Button */
.floating-chat-btn {
    position: fixed;
    right: 20px;
    bottom: 82px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #182030 0%, #0d121c 100%);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    padding: 7px 8px 7px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 18px var(--accent-gold-glow);
    transition: var(--transition-bounce);
    user-select: none;
}

.floating-chat-btn:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: var(--accent-gold);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 28px rgba(229, 184, 66, 0.45);
}

.floating-chat-btn:active {
    transform: translateY(0) scale(0.97);
}

.floating-chat-icon-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    background: var(--accent-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1017;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px var(--accent-gold-glow);
}

.floating-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #0d121c;
    line-height: 1.1;
    letter-spacing: 0.04em;
    animation: badgePulse 2s infinite;
}

.floating-chat-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.floating-chat-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.35;
    z-index: -1;
    animation: fabPulse 2.5s infinite;
}

@keyframes fabPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.45;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

@media (max-width: 480px) {
    .floating-chat-btn {
        right: 14px;
        bottom: 78px;
        padding: 6px 6px 6px 12px;
    }
    .floating-chat-text {
        font-size: 0.8rem;
    }
    .floating-chat-icon-wrap {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

.chat-bot-avatar {
    position: relative;
    width: 38px;
    height: 38px;
}

.chat-bot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid #141b27;
}

.chat-bot-info {
    flex: 1;
}

.chat-bot-info h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-bot-info p {
    font-size: 0.72rem;
    color: var(--accent-gold);
}

.chat-reset-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-reset-btn:hover {
    color: var(--accent-gold);
    background: rgba(229, 184, 66, 0.15);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 85%;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.25s ease-out;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    line-height: 1.4;
}

.chat-msg.bot .msg-bubble {
    background: #182030;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .msg-bubble {
    background: var(--accent-gold-gradient);
    color: #000;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 0.64rem;
    color: var(--text-muted);
    margin-top: 3px;
    padding: 0 4px;
}

.chat-msg.user .msg-time {
    text-align: right;
}

.chat-typing-indicator {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-interactive-area {
    background: #121824;
    border-top: 1px solid var(--border-subtle);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.chat-options-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-option-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-option-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

.chat-input-row {
    display: flex;
    gap: 8px;
}

.chat-text-input {
    flex: 1;
    background: #0a0d14;
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.chat-text-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.chat-send-btn {
    background: var(--accent-gold);
    border: none;
    color: #000;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-bounce);
}

.chat-send-btn:hover {
    transform: scale(1.08);
}

/* ==========================================================================
   STICKY FLOATING BOTTOM CART BAR
   ========================================================================== */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background: rgba(13, 17, 26, 0.95);
    border-top: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 16px;
    z-index: 99;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition-normal);
}

.cart-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.cart-items-count {
    color: var(--accent-gold);
    font-weight: 600;
}

.cart-total-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.cart-cta-btn {
    background: var(--accent-gold-gradient);
    border: none;
    color: #000;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px var(--accent-gold-glow);
    transition: var(--transition-bounce);
}

.cart-cta-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 184, 66, 0.4);
}

.cart-cta-btn:disabled {
    opacity: 0.45;
    filter: grayscale(1);
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   APP FOOTER
   ========================================================================== */
.app-footer {
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    background: #090c12;
    margin-top: auto;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    color: var(--accent-gold);
    border-color: var(--border-gold);
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.footer-powered {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.brand-highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ==========================================================================
   MODALS & DIALOGS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background: #121824;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #121824;
    z-index: 2;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.modal-body {
    padding: 16px;
}

/* Appointments List in Modal */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-item-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.appointment-code {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.badge-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-status.confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.cancelled,
.badge-status.cancelado {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-status.pending,
.badge-status.pendente {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-status.completed,
.badge-status.concluido {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.appointment-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.appointment-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.btn-cancel-appt {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-cancel-appt:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-1px);
}

.btn-remove-appt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-remove-appt:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Shop Modal Styles */
.shop-modal-cover {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    margin-bottom: 14px;
}

.shop-info-block {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.shop-info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-info-block h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-info-block p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.btn-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 6px;
}

.btn-maps-link:hover {
    text-decoration: underline;
}

.hours-list {
    list-style: none;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}

.amenity-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-surface-elevated);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Service Detail Modal */
.modal-service-detail {
    max-width: 440px;
    overflow: hidden;
}

.modal-service-detail .modal-body {
    padding: 0;
}

.service-modal-cover-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-modal-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-modal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13, 17, 26, 0.85);
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-modal-body-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.service-modal-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.service-modal-duration {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-modal-desc-box h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.service-modal-desc-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.service-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-surface-elevated);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.benefit-item {
    font-size: 0.76rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-service-modal-toggle {
    width: 100%;
    padding: 11px;
    border-radius: var(--radius-md);
    background: var(--accent-gold-gradient);
    border: none;
    color: #0c1017;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
    margin-top: 4px;
}

.btn-service-modal-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 184, 66, 0.4);
}

.btn-service-modal-toggle.selected {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: none;
}

/* Utilities */
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--text-muted); }

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 480px) {
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payment-options-grid {
        grid-template-columns: 1fr;
    }

    .payment-option-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 10px;
    }

    .payment-tag {
        margin-left: auto;
    }
}
