/* ==========================================================================
   app.css — Coiffure StaffPlay consolidated stylesheet
   Merged from: site.css · page-specific.css · mobile.css
   ==========================================================================
   Keep bootstrap.min.css and fullcalendar.css separate (third-party).
   ========================================================================== */

/* ==========================================================================
   PART 1 — Global styles (site.css)
   ========================================================================== */

/* ==========================================================================
   Coiffure StaffPlay - Root Color Scheme & Main Styles
   Rotterdam Zuid Multicultural Salon
   ========================================================================== */

/* ==========================================================================
   ROOT COLOR SCHEME - Global CSS Variables
   ========================================================================== */
:root {
  /* PRIMARY BRAND COLORS — Matched to actual Dordtselaan 202A storefront sign */
  --color-primary: #A82535;           /* Crimson — "Coiffure Staffplay" sign lettering */
  --color-secondary: #C23040;         /* Lighter crimson — hover state */
  --color-accent: #5c3030;            /* Deep brick — building facade colour */
  --color-storefront: #8B1C2C;        /* Dark crimson — pressed/active state */
  --color-barbershop: #6B1522;        /* Deepest — darkest variant */

  /* NEUTRAL COLORS */
  --color-dark: #2c2c2c;              /* Charcoal — warm near-black */
  --color-medium: #4a4a4a;            /* Dark charcoal */
  --color-light: #7a7a7a;             /* Medium gray */
  --color-lighter: #e8e3dc;           /* Warm light gray */
  --color-lightest: #f5f3f0;          /* Warm off-white */
  --color-white: #faf9f7;             /* Cream white — never cold */

  /* SEMANTIC COLORS */
  --color-success: #16A34A;           /* Green 600 */
  --color-warning: #D97706;           /* Amber (same as primary) */
  --color-error: #DC2626;             /* Red 600 — errors only */
  --color-info: #0284C7;              /* Sky 600 */

  /* TEXT COLORS */
  --text-primary: var(--color-dark);
  --text-secondary: var(--color-medium);
  --text-muted: var(--color-light);
  --text-inverse: var(--color-white);
  --text-link: var(--color-primary);

  /* BACKGROUND COLORS */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-lightest);
  --bg-light: var(--color-lighter);
  --bg-brand: var(--color-primary);
  --bg-accent: var(--color-secondary);
  --background-light: var(--color-lightest);

  /* BORDER COLORS */
  --border-light: var(--color-lighter);
  --border-medium: var(--color-light);
  --border-primary: var(--color-primary);

  /* SHADOW COLORS */
  --shadow-light: rgba(24, 24, 27, 0.08);
  --shadow-medium: rgba(24, 24, 27, 0.14);
  --shadow-strong: rgba(24, 24, 27, 0.24);
  --shadow-barbershop: rgba(168, 37, 53, 0.18);

  /* BRAND GRADIENTS */
  --gradient-storefront: linear-gradient(135deg, var(--color-primary) 0%, var(--color-storefront) 100%);
  --gradient-barbershop: linear-gradient(45deg, var(--color-barbershop) 0%, var(--color-primary) 50%, var(--color-storefront) 100%);
  --gradient-traditional: radial-gradient(circle, var(--color-primary) 0%, var(--color-barbershop) 70%);
  --shadow-brand: rgba(168, 37, 53, 0.22);
  
  /* SPACING SCALE */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  
  /* BORDER RADIUS */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  
  /* TRANSITIONS */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   BASE LAYOUT STYLES (Original Yii2 Framework Styles)
   ========================================================================== */
html {
    /* no height:100% — let content determine page height */
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: #faf9f7;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

.wrap {
    flex-shrink: 0; /* Bootstrap sticky-footer pattern: mt-auto on footer does the pinning */
}

.wrap > .container,
main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: var(--space-lg) 0;
    color: var(--text-secondary);
    margin-top: auto;
}

/* Modern Footer Styling */
.footer-modern {
    background: linear-gradient(135deg, #3a3a3a 0%, #2c2c2c 100%);
    color: var(--color-white);
    padding: 0.55rem 0;
    margin-top: auto;
    border-top: 2px solid var(--color-primary);
    font-size: 0.82rem;
}

.footer-modern p {
    margin-bottom: 0;
    line-height: 1.4;
}

.footer-modern p {
    margin-bottom: var(--space-xs);
    color: var(--color-lighter);
}

.footer-modern strong {
    color: var(--color-white);
    font-weight: 600;
}

.footer-modern .brand-accent {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-modern .brand-accent:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer-heart {
    color: #F87171;
    font-style: normal;
}

.footer-link {
    color: var(--color-lighter);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: var(--color-error);
    font-style: italic;
}

/* ==========================================================================
   GRID VIEW & SORTING STYLES
   ========================================================================== */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
}

.error-summary {
    color: var(--color-error);
    background: rgba(168, 37, 53, 0.08);
    border-left: 3px solid var(--color-error);
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* ==========================================================================
   APPOINTMENT BOOKING STYLES
   ========================================================================== */
.mainLayout {
    background: no-repeat center center;
    background-size: cover;
}

/* Time slot styling */
.time-slot input {
    display: none;
}

.time-slot label {
    padding: 10px;
    color: var(--text-inverse);
    cursor: pointer;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    font-weight: 500;
}

.time-slot input:checked ~ label {
    background: var(--color-error);
    cursor: not-allowed;
    animation: flashBooked 0.5s ease;
}

.time-slot input:not(:checked) ~ label {
    background: var(--color-success);
    animation: flashAvailable 0.5s ease;
}

@keyframes flashBooked {
    0%, 100% { 
        background: var(--color-error); 
        transform: scale(1); 
    }
    50% { 
        background: #F99090; 
        transform: scale(1.5); 
    }
}

@keyframes flashAvailable {
    0%, 100% { 
        background: var(--color-success); 
        transform: scale(1); 
    }
    50% { 
        background: #77DA4E; 
        transform: scale(1.5); 
    }
}

/* ==========================================================================
   UI COMPONENT STYLES
   ========================================================================== */
.about-detail-image {
    width: 99.5%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.ui-datepicker {
    display: none;
}

.ui-datepicker-next {
    float: right;
}

.ui-datepicker-today {
    background-color: rgba(168, 37, 53, 0.14);
}

/* ==========================================================================
   PAGE SECTION BACKGROUNDS
   ========================================================================== */
.section-light-bg {
    background: var(--bg-secondary);
}

.background-light-section {
    background: var(--bg-secondary);
}

/* ==========================================================================
   NOTIFICATION PREFERENCES STYLES
   ========================================================================== */
.notification-option {
    height: 100%;
}

.notification-option .btn-check:checked + .btn {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-inverse);
}

.notification-option .btn {
    min-height: 120px;
    transition: var(--transition-normal);
}

.notification-option .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.notification-bell {
    font-size: 3rem;
    color: var(--color-primary);
}

.whatsapp-icon,
.sms-icon,
.mobile-icon {
    font-size: 1.5rem;
}

.info-icon {
    color: var(--color-info);
}

/* ==========================================================================
   OAUTH LOGIN STYLES
   ========================================================================== */
.site-login {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.site-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.site-login .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   ENHANCED COMPONENT STYLES
   ========================================================================== */
.btn {
    border-radius: var(--radius-lg);
    font-weight: 500;
    padding: 12px 20px;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-primary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px var(--shadow-light);
    background: var(--bg-primary);
}

.alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: var(--space-md) var(--space-lg);
}

.form-control, 
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    padding: var(--space-sm) var(--space-md);
}

.form-control:focus, 
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--shadow-brand);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .site-login {
        padding: 20px;
        min-height: 100vh;
    }
    
    .card-body {
        padding: 2rem !important;
    }
    
    .wrap > .container,
    main > .container {
        padding: 60px 10px 20px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-brand {
    color: var(--color-primary) !important;
}

.bg-brand {
    background-color: var(--color-primary) !important;
}

.border-brand {
    border-color: var(--color-primary) !important;
}

.shadow-brand {
    box-shadow: 0 4px 14px var(--shadow-brand) !important;
}

/* ==========================================================================
   BRAND COMPONENTS & STYLING (Consolidated from brand.css)
   ========================================================================== */

/* ADDITIONAL BRAND VARIABLES */
:root {
  /* ADDITIONAL BRAND COLORS */
  --cultural-copper: #D97706;   /* now matches amber primary */

  /* BRAND SPECIFIC GRADIENTS */
  --brand-gradient: linear-gradient(135deg, var(--color-primary), var(--color-storefront));
  --cultural-gradient: linear-gradient(135deg, #18181B 0%, #27272A 100%);  /* dark card headers */
  --professional-gradient: linear-gradient(180deg, var(--color-dark), var(--color-medium));
  
  /* BRAND TYPOGRAPHY */
  --font-brand: 'Palanquin', 'Arial', sans-serif;
  --font-body: 'Josefin Sans', 'Arial', sans-serif;
  --font-accent: 'Palanquin', sans-serif;
  
  /* BRAND FONT SIZES */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
}

/* Navigation Bar */
.navbar-brand {
  background: var(--brand-gradient);
  color: var(--text-inverse);
  font-family: var(--font-brand);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 4px 14px var(--shadow-brand);
}

/* Primary Buttons — outlined with brand red */
.btn-brand-primary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: var(--font-brand);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

/* Secondary Buttons */
.btn-brand-secondary {
  background: transparent;
  color: var(--color-medium);
  border: 2px solid #d1d1d1;
  font-family: var(--font-brand);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  transition: var(--transition-normal);
}

.btn-brand-secondary:hover {
  background: #f0f0f0;
  border-color: #bbb;
  color: var(--color-dark);
  transform: translateY(-1px);
}

/* Cultural Cards */
.cultural-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px var(--shadow-light);
  transition: var(--transition-normal);
  overflow: hidden;
}

.cultural-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px var(--shadow-light);
  border-color: var(--color-secondary);
}

.cultural-card-header {
  background: #18181B;
  color: #ffffff;
  padding: var(--space-lg) var(--space-md);
  font-family: var(--font-brand);
  font-weight: 600;
  border-bottom: 3px solid var(--color-primary);
}

/* Service Icons */
.service-icon {
  width: 3rem;
  height: 3rem;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 14px var(--shadow-brand);
}

/* Cultural Patterns (Subtle Background Elements) */
.pattern-multicultural {
  background-image: 
    radial-gradient(circle at 20% 20%, var(--color-secondary) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, var(--cultural-copper) 0%, transparent 50%);
  opacity: 0.05;
}

/* Language Selector */
.language-selector {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 50px;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.language-selector.active {
  background: var(--color-secondary);
  color: var(--text-inverse);
  border-color: var(--color-secondary);
}

/* Status Indicators */
.status-available { 
  background: var(--color-success); 
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
}

.status-busy { 
  background: var(--color-error); 
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
}

.status-break { 
  background: var(--color-warning); 
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
}

/* Footer Branding */
.footer-brand {
  background: var(--color-dark);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0;
}

.footer-brand .brand-accent {
  color: var(--color-secondary);
  font-weight: 600;
}

/* Animation Classes */
.fade-in-brand {
  animation: fadeInBrand 0.6s ease-in-out;
}

@keyframes fadeInBrand {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-multicultural {
  animation: slideInMulticultural 0.8s ease-out;
}

@keyframes slideInMulticultural {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   UI ENHANCEMENT - Spacing, Focus & User Experience
   ========================================================================== */

/* Breadcrumb Enhancement */
.breadcrumb {
  background: transparent;
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-xl);
  border-radius: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--text-muted);
  font-weight: 400;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 var(--space-sm);
}

.breadcrumb-item.active {
  color: var(--color-primary);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin: 0 calc(var(--space-xs) * -1);
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: none;
  background: rgba(168, 37, 53, 0.08);
}

.breadcrumb a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  background: rgba(168, 37, 53, 0.12);
  color: var(--color-primary);
}

/* Enhanced Content Spacing */
.site-about,
.site-services, 
.site-appointment,
.notification-preferences {
  padding: var(--space-lg) 0;
}

.site-about h1,
.site-services h1,
.site-appointment h1,
.notification-preferences h1 {
  margin-bottom: var(--space-xl);
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION — Light Elegant Design (Lorenzo-inspired)
   ========================================================================== */
.hero-section {
  background: #faf9f7;
  color: #2c2c2c;
  padding: 6rem 1.5rem 4.5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e8e3dc;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(168, 37, 53, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 15%, rgba(92, 48, 48, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative vertical line — references barbershop pole */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-primary));
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section .lead {
  color: #7a7a7a;
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.hero-accent {
  color: var(--color-primary);
  font-style: italic;
}

/* Hero buttons on light background */
.hero-section .btn-brand-primary {
  background: transparent !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.hero-section .btn-brand-primary:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}

.hero-section .btn-brand-secondary {
  background: transparent !important;
  border-color: #c8c8c8 !important;
  color: var(--color-medium) !important;
}

.hero-section .btn-brand-secondary:hover {
  background: #f0f0f0 !important;
  border-color: #bbb !important;
  color: var(--color-dark) !important;
}

.hero-section .btn-outline-light {
  border-color: var(--color-lighter) !important;
  color: #7a7a7a !important;
}

.hero-section .btn-outline-light:hover {
  background: var(--color-lighter) !important;
  color: #2c2c2c !important;
}

/* Open/closed pill on light hero */
.hero-section #salon-status {
  background: rgba(44, 44, 44, 0.06) !important;
}

.hero-section #salon-status #status-text {
  color: #4a4a4a !important;
}

/* ==========================================================================
   MODERN CARD — Clean Premium White Card
   ========================================================================== */
.modern-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  /* height: 100% belongs on the h-100 Bootstrap class, not here */
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
}

.modern-card-header {
  margin-bottom: 1rem;
}

.modern-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FEATURE LIST — Clean Checkmark List
   ========================================================================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  color: #4b5563;
  font-size: 0.94rem;
  margin-bottom: 0;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.section-padding {
  padding: var(--space-2xl) 0;
}

/* Compact community pills (home page) */
.community-pill {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  transition: all var(--transition-fast);
}

.community-pill:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px var(--shadow-medium);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.community-flag-sm {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}

.community-label {
  font-size: 0.78rem;
  font-weight: 600;
  display: block;
  color: inherit;
}

/* Card Spacing Enhancement */
.row.g-4 > * {
  margin-bottom: var(--space-lg);
}

.card-body {
  padding: var(--space-lg);
}

.cultural-card {
  margin-bottom: var(--space-lg);
}

/* Form Enhancement */
.form-group, 
.mb-3 {
  margin-bottom: var(--space-lg) !important;
}

.form-label {
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-primary);
}

/* Enhanced Focus States for All Interactive Elements */

/* Button Focus Enhancement */
.btn:focus,
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(168, 37, 53, 0.12);
  transform: none;
}

.btn-brand-primary:focus,
.btn-brand-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(168, 37, 53, 0.14);
  background: var(--color-primary);
  color: #fff;
}

.btn-brand-secondary:focus,
.btn-brand-secondary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(168, 37, 53, 0.12);
  background: rgba(168, 37, 53, 0.04);
}

/* Link Focus Enhancement */
a:focus,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Navigation Link Focus */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:focus-visible {
  background: rgba(168, 37, 53, 0.08);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

/* Enhanced Hover States */
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-medium);
  transition: all var(--transition-fast);
}

.btn-brand-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-brand);
}

.btn-brand-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(168, 37, 53, 0.14);
}

/* Card Hover Enhancement */
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-light);
  transition: var(--transition-normal);
}

.cultural-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-light);
}

/* Interactive Element Comfort */
.btn {
  min-height: 44px; /* Touch-friendly minimum */
  font-size: 1rem;
  line-height: 1.5;
}

.btn-lg {
  min-height: 48px;
  font-size: 1.1rem;
  padding: var(--space-md) var(--space-xl);
}

.btn-sm {
  min-height: 36px;
  font-size: 0.9rem;
}

/* Easy Visual Hierarchy */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-2xl);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* Comfortable Paragraph Spacing */
p {
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  color: var(--text-secondary);
}

/* List Spacing */
ul, ol {
  margin-bottom: var(--space-lg);
}

li {
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

/* Cultural Accessibility */
.rtl-support {
  text-align: right;
  direction: rtl;
}

.ltr-support {
  text-align: left;
  direction: ltr;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR BRAND COMPONENTS
   ========================================================================== */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: var(--text-lg);
    padding: var(--space-xs) var(--space-sm);
  }
  
  .cultural-card {
    margin-bottom: var(--space-md);
  }
  
  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: var(--text-lg);
  }
}

/* ==========================================================================
   ACCESSIBILITY & MODERN WEB STANDARDS
   ========================================================================== */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #92400E;
    --color-secondary: #B45309;
    --text-primary: #000000;
    --border-medium: #000000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn-brand-primary:hover,
  .btn-brand-secondary:hover,
  .cultural-card:hover,
  .card:hover {
    transform: none;
  }
  
  .fade-in-brand,
  .slide-in-multicultural {
    animation: none;
  }
}

/* ==========================================================================
   MOBILE & TOUCH ENHANCEMENTS for Easy Experience
   ========================================================================== */
@media (max-width: 768px) {
  /* Enhanced Mobile Spacing */
  .hero-section {
    padding: 5rem 1rem 3.5rem;
  }

  .hero-section::after {
    height: 40px;
  }

  .hero-title {
    font-size: 2.6rem;
    letter-spacing: -0.5px;
  }
  
  .section-padding {
    padding: var(--space-2xl) 0;
  }
  
  .site-about,
  .site-services, 
  .site-appointment,
  .notification-preferences {
    padding: var(--space-md) 0;
  }
  
  /* Mobile Button Enhancements */
  .btn {
    min-height: 48px;
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }
  
  .btn-lg {
    min-height: 52px;
    font-size: 1.1rem;
    padding: var(--space-lg) var(--space-xl);
  }
  
  /* Mobile Typography */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  /* Mobile Cards & Spacing */
  .cultural-card,
  .card {
    margin-bottom: var(--space-xl);
  }
  
  .breadcrumb {
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
  }
  
  /* Touch-friendly Navbar */
  .navbar-nav .nav-link {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }
}

/* ==========================================================================
   TESTIMONIAL CARDS — Home page customer reviews
   ========================================================================== */
.testimonial-section {
  background: #2c2c2c;
  color: #faf9f7;
  padding: 4rem 0;
}

.testimonial-section h2 {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  color: #faf9f7;
  margin-bottom: 0.5rem;
}

.testimonial-section .section-sub {
  color: #a0a0a0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-primary);
  font-family: var(--font-brand);
  opacity: 0.7;
}

.testimonial-card-body {
  padding-top: 2rem;
}

.testimonial-stars {
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #d4d0cb;
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-brand);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #faf9f7;
  font-family: var(--font-brand);
}

.testimonial-meta {
  font-size: 0.75rem;
  color: #808080;
  font-weight: 300;
}

/* ==========================================================================
   SECTION DIVIDERS — Thin amber lines for section separation
   ========================================================================== */
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto 1.5rem;
}

.section-divider--left {
  margin: 0 0 1.5rem;
}

/* Back button — replaces breadcrumbs */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.2rem 0;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.btn-back:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Community link — reset default anchor styling */
.community-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.community-link:hover {
  color: inherit;
  text-decoration: none;
}

/* Section light-bg — slightly more visible background */
.section-light-bg {
  background: #f0f4f8 !important;
}

/* ==========================================================================
   FINAL POLISH - Smooth Interactions & Visual Comfort
   ========================================================================== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
  background: rgba(168, 37, 53, 0.15);
  color: var(--color-storefront);
}

::-moz-selection {
  background: rgba(168, 37, 53, 0.15);
  color: var(--color-storefront);
}

/* Loading State Comfort */
.pace .pace-progress {
  background: var(--color-primary);
  height: 3px;
}

.pace.pace-inactive {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Subtle Animations for Comfort */
* {
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: var(--transition-fast);
  transition-timing-function: ease;
}

/* Form-within for Form Groups */
.form-group:focus-within {
  transform: translateY(-1px);
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   COMMUNITY SECTION - Enhanced Visual Design
   ========================================================================== */

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.community-item {
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 6px var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.community-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(168, 37, 53, 0.02) 50%, transparent 100%);
  pointer-events: none;
}

.community-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  border-color: var(--color-primary);
}

.community-item:hover::before {
  background: linear-gradient(135deg, transparent 0%, rgba(168, 37, 53, 0.04) 50%, transparent 100%);
}

.community-flag {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: var(--space-md);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition-normal);
}

.community-item:hover .community-flag {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.community-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-brand);
}

.community-item .language-code {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Community Section Header Enhancement */
.community-section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.community-section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  position: relative;
}

.community-section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-gradient);
  margin: var(--space-lg) auto 0;
  border-radius: var(--radius-sm);
}

.community-section-header .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile Community Grid */
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
  }
  
  .community-item {
    padding: var(--space-lg);
    margin: 0 var(--space-md);
  }
  
  .community-flag {
    font-size: 2.5rem;
  }
  
  .community-section-header h2 {
    font-size: 1.8rem;
  }
}

/* Community Section Background Pattern */
.section-light-bg.community-section {
  position: relative;
  background: var(--bg-secondary);
}

.section-light-bg.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(168, 37, 53, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(168, 37, 53, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* ==========================================================================
   AUTHENTIC STOREFRONT BRANDING - Traditional Barbershop Elements
   ========================================================================== */

/* Storefront Brand Elements */
.brand-storefront {
  background: var(--gradient-storefront);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px var(--shadow-barbershop);
}

/* Traditional Barbershop Stripe Pattern */
.barbershop-stripe {
  background: repeating-linear-gradient(
    45deg,
    var(--color-primary),
    var(--color-primary) 8px,
    var(--color-white) 8px,
    var(--color-white) 16px,
    var(--color-storefront) 16px,
    var(--color-storefront) 24px
  );
  height: 4px;
  border-radius: 2px;
  margin: var(--space-sm) 0;
}

/* Primary brand button — used only for the main CTA on each page */
/* Secondary / back buttons — neutral, no color */
.btn-brand-secondary {
  background: transparent !important;
  border: 1px solid var(--color-lighter) !important;
  color: var(--color-medium) !important;
  font-weight: 500 !important;
  transition: all var(--transition-normal);
}

.btn-brand-secondary:hover {
  border-color: var(--color-light) !important;
  color: var(--color-dark) !important;
}

/* WhatsApp contact button — subtle, not bright green */
.btn-whatsapp {
  background: transparent;
  border: 1px solid #25D366;
  color: #128C7E;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #ffffff;
}

/* Navbar Brand — outlined style on light navbar */
.navbar-brand {
  background: #fff !important;
  color: var(--color-primary) !important;
  padding: 0.3rem 1rem !important;
  border-radius: 0.5rem !important;
  border: 2px solid var(--color-primary) !important;
  font-weight: 700 !important;
  text-shadow: none;
  box-shadow: none;
  text-decoration: none !important;
  transition: background var(--transition-normal), color var(--transition-normal);
  font-family: var(--font-brand);
}

.navbar-brand:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Nav links — dark on light navbar */
.navbar-nav .nav-link {
  color: var(--color-dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary) !important;
}

/* Language dropdown button on light navbar */
.navbar-brand-container .btn-outline-secondary {
  color: var(--color-medium);
  border-color: #ccc;
  font-size: 0.8rem;
}

.navbar-brand-container .btn-outline-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}


/* ==========================================================================
   PART 2 — Page-specific styles (page-specific.css)
   ========================================================================== */

/* ==========================================================================
   page-specific.css — Services page & other page-level overrides
   Coiffure StaffPlay Rotterdam Zuid
   ========================================================================== */

/* Services page hero header */
.site-services .text-center.mb-5 {
    padding: 2.5rem 0 1.5rem;
}

/* Service card inner layout */
.site-services .cultural-card .p-4 {
    display: flex;
    flex-direction: column;
}

.site-services .cultural-card .p-4 .btn {
    margin-top: auto;
}

/* Cultural specialty icons on services page */
.site-services .community-grid {
    max-width: 700px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 576px) {
    .site-services .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services section light background – contained */
.site-services .section-light-bg {
    border-radius: 14px;
    padding: 2.5rem;
    margin: 2rem 0;
}

/* Appointment page */
.site-appointment {
    padding-top: 0;
}

/* Page header — matches gallery-page-header style */
.appt-page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e8e3dc;
    background: #faf9f7;
    text-align: center;
}
.appt-page-sub {
    color: #7a7a7a;
    font-weight: 300;
    font-size: 0.88rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Sidebar cards — red left border instead of red fill */
.appt-sidebar-card {
    border-left: 3px solid var(--color-primary) !important;
    border-radius: 6px;
    overflow: hidden;
}
.appt-sidebar-card-header {
    background: #faf9f7;
    border-bottom: 1px solid #e8e3dc;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-family: var(--font-brand);
    color: var(--color-primary);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

/* ── Step progress bar ──────────────────────────────────────────────────────── */
.appt-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0.25rem 0 0.5rem;
}

.appt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.appt-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F4F4F5;
    border: 2px solid #E4E4E7;
    color: #A1A1AA;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

/* show number by default, hide checkmark */
.appt-step-check { display: none; }
.appt-step-num   { display: block; }

.appt-step.active .appt-step-circle {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(168, 37, 53, 0.14);
}

.appt-step.completed .appt-step-circle {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

/* swap number for checkmark when completed */
.appt-step.completed .appt-step-num   { display: none; }
.appt-step.completed .appt-step-check { display: block; font-size: 1rem; }

.appt-step-label {
    font-size: 0.73rem;
    font-weight: 600;
    color: #A1A1AA;
    white-space: nowrap;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.appt-step.active .appt-step-label {
    color: var(--color-primary);
}

.appt-step.completed .appt-step-label {
    color: #16a34a;
}

.appt-step-line {
    flex: 1;
    height: 2px;
    background: #E4E4E7;
    margin: 0 0.5rem;
    margin-top: 1.25rem;
    border-radius: 2px;
    transition: background 0.3s;
}

.appt-step-line.done {
    background: #16a34a;
}

/* ── Step panels ────────────────────────────────────────────────────────────── */
.appt-panel {
    background: #fff;
    border: 1px solid #E4E4E7;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ── Service tile picker ────────────────────────────────────────────────────── */
.service-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-tile {
    cursor: pointer;
    margin: 0;
}

.service-tile input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.service-tile-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border: 2px solid #E4E4E7;
    border-radius: 12px;
    background: #FAFAFA;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    height: 100%;
    position: relative;
    user-select: none;
}

.service-tile input:checked + .service-tile-inner {
    border-color: var(--color-primary);
    background: rgba(168, 37, 53, 0.05);
    box-shadow: 0 4px 14px rgba(168, 37, 53, 0.12);
}

.service-tile input:checked + .service-tile-inner::after {
    content: '✓';
    position: absolute;
    top: 7px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    background: var(--color-primary);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    line-height: 16px;
    text-align: center;
}

.service-tile-inner:hover {
    border-color: #c0c0c8;
    background: #F7F7F8;
}

.service-tile input:checked + .service-tile-inner:hover {
    background: rgba(168, 37, 53, 0.07);
}

.service-tile-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 2.4rem;
    text-align: center;
}

.service-tile-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.service-tile-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    display: block;
    line-height: 1.2;
}

.service-tile-desc {
    font-size: 0.73rem;
    color: #71717A;
    display: block;
    line-height: 1.3;
}

.service-tile-price {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(168, 37, 53, 0.08);
    border-radius: 4px;
    padding: 1px 5px;
    align-self: flex-start;
}

@media (max-width: 420px) {
    .service-picker {
        grid-template-columns: 1fr;
    }
}

/* ── Barber card grid ───────────────────────────────────────────────────────── */
.barber-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.barber-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    padding: 0.75rem 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: center;
    font-size: 0.78rem;
}

.barber-card:hover {
    border-color: var(--color-primary);
}

.barber-card--selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 37, 53, 0.15);
}

.barber-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.barber-card-avatar--initials,
.barber-card-avatar--any {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 1.25rem;
    font-weight: 700;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.barber-card-name {
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.barber-card-spec {
    font-size: 0.68rem;
    color: #71717a;
    margin-top: 0.2rem;
}

/* ── Slot grid ──────────────────────────────────────────────────────────────── */
.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 44px;
}

.slot-btn {
    padding: 0.4rem 0.9rem;
    border: 1.5px solid #E4E4E7;
    border-radius: 8px;
    background: #FAFAFA;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.slot-btn:hover {
    border-color: var(--color-primary);
    background: rgba(168, 37, 53, 0.05);
}

.slot-btn.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.slot-btn--past {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.slot-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.slot-grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Booking summary ────────────────────────────────────────────────────────── */
.appt-summary {
    background: #F9FAFB;
    border: 1px solid #E4E4E7;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.appt-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.85rem;
}

.appt-summary-row:last-child {
    border-bottom: none;
}

.appt-summary-key {
    color: #6B7280;
    font-weight: 500;
}

.appt-summary-val {
    font-weight: 600;
    color: #111827;
}

/* ── Booking sidebar card — crimson header matching storefront sign */
.site-appointment .card-header.bg-dark {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-storefront) 100%) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

.site-appointment .card-header.bg-dark h5 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-appointment .card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E4E4E7;
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.08);
}

/* Contact page heading */
.site-contact .display-5 {
    font-weight: 800;
    font-size: 2.2rem;
}

/* Card header overrides for info sidebar */
.site-contact .card {
    border-radius: 12px;
    overflow: hidden;
}

/* About page */
.site-about h1 {
    font-weight: 800;
}

/* Featured video – full-width, click to play */
.about-feature-video {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 9;
}

.about-feature-video__player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-feature-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    opacity: 1;
}

/* While playing: hide overlay, reveal on hover */
.about-feature-video__overlay.is-playing {
    opacity: 0;
    background: rgba(0, 0, 0, 0);
}

.about-feature-video__overlay.is-playing:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
}

.about-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s, background 0.18s;
    box-shadow: 0 4px 20px rgba(168, 37, 53, 0.4);
    margin-bottom: 0.75rem;
}

.about-play-btn:hover {
    background: var(--color-storefront);
    transform: scale(1.08);
}

.about-play-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-left: 4px; /* optical center for play triangle */
}

.about-feature-video__caption {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Story chapters */

.about-story-video {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #111;
    overflow: hidden;
}

/* Story video play/pause overlay */
#storyPlayBtn {
    transition: opacity 0.2s;
    opacity: 1;
}

#storyPlayBtn.is-playing {
    opacity: 0;
}

#storyVideoWrap:hover #storyPlayBtn.is-playing {
    opacity: 1;
}

.about-story-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-chapter-text {
    padding: 1.5rem;
}

.about-chapter-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(168, 37, 53, 0.08);
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.6rem;
}

.about-chapter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

@media (max-width: 575px) {
    .about-story-video {
        aspect-ratio: 16 / 9;
    }
    .about-chapter-text {
        padding: 1rem;
    }
    .about-feature-video {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   COMMUNITY PAGES — header spacing, back button, content layout
   ========================================================================== */

/* Back button — prominent pill, top-left */
.community-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #4a4a4a;
    background: #f5f3f0;
    border: 1px solid #e8e3dc;
    border-radius: 20px;
    padding: 0.35rem 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.community-back-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

/* Community page header */
.community-header {
    padding: 1.5rem 0 1.25rem;
    border-bottom: 1px solid #e8e3dc;
    margin-bottom: 2rem;
}

.community-header h1 {
    font-family: var(--font-brand);
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.community-header .lead {
    font-size: 0.95rem;
    color: #7a7a7a;
    font-weight: 300;
    margin-bottom: 0;
}

/* ==========================================================================
   ABOUT PAGE — photo story image classes
   ========================================================================== */

/* Full-width hero image */
.about-story-hero {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.about-story-hero__img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Chapter image — fills column height */
.about-chapter__img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.about-chapter {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e3dc;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Precision detail strip — square crops */
.about-detail-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

@media (max-width: 575px) {
    .about-story-hero__img {
        height: 220px;
    }
    .about-chapter__img {
        min-height: 200px;
        max-height: 280px;
    }
}

/* ==========================================================================
   Team page
   ========================================================================== */
.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}
.team-card__photo-wrap {
    overflow: hidden;
    height: 320px;
}
.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.team-card:hover .team-card__photo {
    transform: scale(1.03);
}
.team-card__body {
    padding: 1.5rem;
}
.team-card__name {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.15rem;
    color: #2c2c2c;
    margin-bottom: 0.2rem;
}
.team-card__subtitle {
    font-size: 0.82rem;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.team-card__bio {
    font-size: 0.88rem;
    color: #7a7a7a;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0;
}
.team-card__section-label {
    font-family: var(--font-brand);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}
.team-card__list-item {
    font-size: 0.83rem;
    color: #4a4a4a;
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   Gallery page
   ========================================================================== */

/* Page header */
.gallery-page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e8e3dc;
    background: #faf9f7;
    text-align: center;
}
.gallery-page-sub {
    color: #7a7a7a;
    font-weight: 300;
    font-size: 0.88rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Filter pills */
.gallery-filter-btn {
    background: #f5f3f0;
    border: 1px solid #e8e3dc;
    color: #4a4a4a;
    border-radius: 20px;
    padding: 0.35rem 1.1rem;
    font-size: 0.82rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Uniform grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

/* Card — equal aspect ratio, acts as a button */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    padding: 0;
    border: none;
    background: #111;
    display: block;
    width: 100%;
}
.gallery-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* Photo inside card */
.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-img {
    transform: scale(1.06);
}

/* Video placeholder inside card */
.gallery-card-video-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(160deg, #1c1414 0%, #2d1a1a 60%, #3b1f1f 100%);
}
.gallery-card-play {
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    transition: transform 0.2s, color 0.2s;
}
.gallery-card:hover .gallery-card-play {
    transform: scale(1.18);
    color: var(--color-primary);
}
.gallery-card-video-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-body);
}

/* Hover overlay */
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(168, 37, 53, 0.65);
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}
.gallery-card-overlay-text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}
@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Gallery Lightbox (.glb)
   ========================================================================== */
.glb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1100;
}
.glb {
    position: fixed;
    inset: 0;
    z-index: 1110;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Close button */
.glb-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}
.glb-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.glb-close svg { width: 1.1rem; height: 1.1rem; }

/* Prev / Next navigation */
.glb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}
.glb-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.glb-nav svg { width: 1.2rem; height: 1.2rem; }
.glb-prev { left: 1rem; }
.glb-next { right: 1rem; }

/* Main viewer area */
.glb-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 4.5rem 0.5rem;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}
.glb-media {
    max-width: 100%;
    max-height: calc(100vh - 11rem);
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
.glb-caption {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-align: center;
    margin: 0.6rem 0 0;
    font-family: var(--font-body);
}

/* Thumbnail strip */
.glb-strip {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    width: 100%;
    max-width: 900px;
    flex-shrink: 0;
}
.glb-strip::-webkit-scrollbar { height: 4px; }
.glb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.glb-thumb {
    flex-shrink: 0;
    width: 4.5rem;
    height: 3.25rem;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #1c1c1c;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.glb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.glb-thumb.active {
    border-color: var(--color-primary);
}
.glb-thumb:hover:not(.active) {
    border-color: rgba(255,255,255,0.4);
}
.glb-thumb-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1c1414, #3b1f1f);
    color: rgba(255,255,255,0.7);
}
.glb-thumb-play svg { width: 1.4rem; height: 1.4rem; }

@media (max-width: 575px) {
    .glb-main { padding: 3rem 0.5rem 0.5rem; }
    .glb-prev { left: 0.3rem; }
    .glb-next { right: 0.3rem; }
    .glb-thumb { width: 3.5rem; height: 2.5rem; }
}

/* ==========================================================================
   Loyalty page — visual card
   ========================================================================== */
.loyalty-card {
    border-radius: 16px;
    background: linear-gradient(135deg, #2c2c2c 0%, #3d1a1f 60%, var(--color-primary) 100%);
    box-shadow: 0 8px 32px rgba(168,37,53,0.25);
    padding: 0;
    overflow: hidden;
    position: relative;
}
.loyalty-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.loyalty-card__inner {
    padding: 1.75rem 1.75rem 1.25rem;
    position: relative;
}
.loyalty-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.loyalty-card__brand {
    font-family: var(--font-brand);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}
.loyalty-card__subtitle {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 300;
}
.loyalty-card__tier-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.82rem;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-brand);
    letter-spacing: 0.04em;
}
.loyalty-card__points {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.loyalty-card__points-number {
    font-family: var(--font-brand);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.loyalty-card__points-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}
.loyalty-card__progress-wrap {
    margin-bottom: 1rem;
}
.loyalty-card__progress-bar {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}
.loyalty-card__progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    transition: width 0.6s ease;
}
.loyalty-card__progress-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    letter-spacing: 0.04em;
}
.loyalty-card__footer {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    letter-spacing: 0.05em;
}
.loyalty-tier-active {
    box-shadow: 0 0 0 2px var(--color-primary) !important;
}

/* ── Quick Book banner ───────────────────────────────────────────────────── */
.quick-book-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.quick-book-title {
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
}
.quick-book-sub {
    font-size: .78rem;
    opacity: .75;
    margin-top: .15rem;
}
.quick-book-change {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.quick-book-change:hover {
    color: rgba(255,255,255,.85);
}

/* ==========================================================================
   PART 3 — Mobile & PWA styles (mobile.css)
   ========================================================================== */

/* ============================================================
   Coiffure StaffPlay — Mobile Layout Styles
   Applied on top of Bootstrap 5. Breakpoint: <992px (lg)
   ============================================================ */

/* ── Bottom navigation bar ─────────────────────────────────── */

.mobile-bottom-nav {
    display: flex;
    align-items: stretch;
    background: #111827;
    border-top: 2px solid #A82535;
    z-index: 1040;
    height: 60px;
    /* safe-area-inset for notched phones */
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease;
    gap: 2px;
    padding: 8px 4px;
}

.mobile-bottom-nav a .nav-icon {
    font-size: 20px;
    line-height: 1;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:focus,
.mobile-bottom-nav a:hover {
    color: #C23040;
}

.mobile-bottom-nav a.nav-cta {
    background: #A82535;
    color: #fff;
    border-radius: 0;
}

.mobile-bottom-nav a.nav-cta:hover,
.mobile-bottom-nav a.nav-cta:focus {
    background: #8B1C2C;
    color: #fff;
}

/* ── Body padding when bottom nav is visible ───────────────── */

@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }

    /* Move cookie banner above bottom nav */
    #cookie-banner {
        bottom: calc(60px + env(safe-area-inset-bottom, 0)) !important;
    }

    /* Compact the top navbar on small screens */
    .navbar-brand-container {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    /* Full-width cards on xs */
    .card {
        border-radius: 0.5rem;
    }

    /* Tighter page top padding (fixed navbar is ~56px) */
    .wrap > .container:first-child {
        padding-top: 72px;
    }
}

/* ── Push notification toggle button ───────────────────────── */

#push-toggle-btn {
    display: none; /* shown by push.js once SW is ready */
    font-size: 13px;
}

/* ── PWA install banner ─────────────────────────────────────── */

#pwa-install-banner {
    position: fixed;
    bottom: 70px;
    left: 1rem;
    right: 1rem;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    z-index: 1050;
    font-size: 13px;
}

#pwa-install-banner .pwa-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

#pwa-install-banner .pwa-text {
    flex: 1;
}

#pwa-install-banner .pwa-text strong {
    display: block;
    margin-bottom: 2px;
}

#pwa-dismiss-btn {
    color: #9ca3af !important;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem 0.375rem !important;
    flex-shrink: 0;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}

#pwa-dismiss-btn:hover {
    color: #f9fafb !important;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* ── Touch-friendly table actions ──────────────────────────── */

@media (max-width: 767.98px) {
    .table-responsive .btn {
        padding: 0.25rem 0.5rem;
        font-size: 12px;
    }

    .table th,
    .table td {
        font-size: 13px;
    }
}

/* ── Appointment wizard mobile tweaks ──────────────────────── */

@media (max-width: 575.98px) {
    /* Stack wizard steps vertically */
    .wizard-steps {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Full-width slot grid */
    .slot-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Reduce hero font sizes */
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Queue Ticket
   ========================================================================== */
.queue-ticket {
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
}

.queue-ticket-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 0.25rem;
}

.queue-ticket-code {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    line-height: 1.1;
}

.queue-ticket-hint {
    font-size: 0.78rem;
    color: #7a7a7a;
    margin-top: 0.4rem;
}

/* ==========================================================================
   Party Size Picker (appointment wizard + queue form)
   ========================================================================== */
.party-size-btn {
    position: relative;          /* contain the hidden radio input */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 2px solid #c8c8c8;
    border-radius: 50%;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    user-select: none;
    color: #4a4a4a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.party-size-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168,37,53,0.1);
}
.party-size-btn.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(168,37,53,0.2);
}

/* ── Legal prose (terms, privacy, accessibility) ────────────────────────────── */
.legal-prose {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    font-size: 0.9375rem;   /* 15px — comfortable reading size */
    line-height: 1.75;
    color: #1f2937;
    overflow-wrap: break-word;
    word-break: break-word;
    font-family: var(--font-body, system-ui, -apple-system, sans-serif);
}

.legal-prose h1,
.legal-prose h2,
.legal-prose h3,
.legal-prose h4,
.legal-prose h5 {
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #111827;
    font-family: var(--font-brand, inherit);
}

.legal-prose p {
    margin-bottom: 1rem;
}

.legal-prose ul,
.legal-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-prose li {
    margin-bottom: 0.35rem;
}

.legal-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.legal-prose th,
.legal-prose td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.legal-prose th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}
