/* ==========================================================================
   Groomer.org - Design System & Master Stylesheet
   Crafted for Hostinger Shared & Cloud Hosting
   Palette: Warm Cream, Forest Green, Soft Sage, Sand, and Warm Coral
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
    /* Color Palette */
    --color-cream-50: #FAF8F5;
    --color-cream-100: #F5F0E6;
    --color-cream-200: #EAE3D2;
    --color-sand: #D8CCB8;
    
    --color-forest-950: #0D2219;
    --color-forest-900: #143326;
    --color-forest-800: #1B4332;
    --color-forest-700: #2D5A43;
    --color-forest-600: #3E7358;
    
    --color-sage-50: #F4F7F5;
    --color-sage-100: #E8EFE9;
    --color-sage-200: #D0DFD3;
    --color-sage-600: #4F7060;
    --color-sage-700: #3B574A;
    
    --color-coral-50: #FDF5F2;
    --color-coral-100: #FCE8E2;
    --color-coral-400: #F4A261;
    --color-coral-500: #E07A5F;
    --color-coral-600: #C85D42;
    
    --color-slate-900: #19212C;
    --color-slate-800: #2D3748;
    --color-slate-700: #4A5568;
    --color-slate-600: #64748B;
    --color-slate-500: #718096;
    --color-slate-300: #CBD5E1;
    --color-slate-200: #E2E8F0;
    --color-slate-100: #F1F5F9;
    --color-white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.05);
    --shadow-md: 0 4px 12px rgba(27, 67, 50, 0.06);
    --shadow-lg: 0 10px 25px -4px rgba(27, 67, 50, 0.08);
    --shadow-hover: 0 16px 32px -6px rgba(27, 67, 50, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
}

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

html {
    font-family: var(--font-sans);
    background-color: var(--color-cream-50);
    color: var(--color-slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-forest-800);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-forest-600);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-slate-900);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.font-serif {
    font-family: var(--font-serif);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container-wide {
    max-width: 1360px;
}

.container-narrow {
    max-width: 860px;
}

/* Header & Navigation */
.site-header {
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-cream-200);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.brand-logo-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Bathtub Animated Bubbles */
.logo-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.logo-bubbles .bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(185, 235, 230, 0.65) 45%, rgba(136, 204, 201, 0.25) 75%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(110, 195, 190, 0.7);
    box-shadow: inset -1px -1px 2px rgba(244, 162, 97, 0.35), inset 1px 1px 2px rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.logo-bubbles-light .bubble {
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(175, 240, 230, 0.7) 45%, rgba(163, 201, 184, 0.3) 75%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(163, 201, 184, 0.85);
    box-shadow: inset -1px -1px 2px rgba(244, 162, 97, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.95), 0 0 6px rgba(163, 201, 184, 0.4);
}

/* Staggered ambient bathtub bubbles (Bathtub center is ~33% from left) */
.logo-bubbles .b1 {
    width: 7px;
    height: 7px;
    left: 29%;
    top: 13px;
    animation: bubbleRise1 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.logo-bubbles .b2 {
    width: 9px;
    height: 9px;
    left: 37%;
    top: 10px;
    animation: bubbleRise2 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.1s;
}

.logo-bubbles .b3 {
    width: 5px;
    height: 5px;
    left: 33%;
    top: 15px;
    animation: bubbleRise3 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite 2.0s;
}

.logo-bubbles .b4 {
    width: 8px;
    height: 8px;
    left: 41%;
    top: 11px;
    animation: bubbleRise4 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.6s;
}

.logo-bubbles .b5 {
    width: 6px;
    height: 6px;
    left: 26%;
    top: 14px;
    animation: bubbleRise1 3.0s cubic-bezier(0.4, 0, 0.2, 1) infinite 2.6s;
}

/* Keyframes for natural floating suds */
@keyframes bubbleRise1 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 0.95;
    }
    55% {
        transform: translate3d(-4px, -16px, 0) scale(1);
        opacity: 0.85;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translate3d(2px, -32px, 0) scale(1.2);
        opacity: 0;
    }
}

@keyframes bubbleRise2 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    60% {
        transform: translate3d(4px, -18px, 0) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translate3d(-3px, -36px, 0) scale(1.25);
        opacity: 0;
    }
}

@keyframes bubbleRise3 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.4);
        opacity: 0;
    }
    25% {
        opacity: 0.9;
    }
    65% {
        transform: translate3d(-3px, -15px, 0) scale(1);
        opacity: 0.75;
    }
    100% {
        transform: translate3d(1px, -28px, 0) scale(1.15);
        opacity: 0;
    }
}

@keyframes bubbleRise4 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.3);
        opacity: 0;
    }
    18% {
        opacity: 0.95;
    }
    50% {
        transform: translate3d(4px, -15px, 0) scale(1);
        opacity: 0.85;
    }
    100% {
        transform: translate3d(5px, -33px, 0) scale(1.2);
        opacity: 0;
    }
}

@keyframes bubbleBurst {
    0% {
        transform: translate3d(0, 0, 0) scale(0.2);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    70% {
        opacity: 0.85;
    }
    100% {
        transform: translate3d(var(--drift-x, 4px), var(--drift-y, -30px), 0) scale(1.3);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-bubbles {
        display: none !important;
    }
}

.brand-wordmark {
    font-size: 25px;
    font-weight: 800;
    color: var(--color-forest-900);
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
}

.brand-tld {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-coral-500);
    margin-left: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-slate-700);
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-forest-800);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-forest-800);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--color-forest-900);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-sage-100);
    color: var(--color-forest-800);
}

.btn-secondary:hover {
    background-color: var(--color-sage-200);
    color: var(--color-forest-900);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-forest-800);
    color: var(--color-forest-800);
}

.btn-outline:hover {
    background-color: var(--color-sage-50);
}

.btn-coral {
    background-color: var(--color-coral-500);
    color: var(--color-white);
}

.btn-coral:hover {
    background-color: var(--color-coral-600);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-premium {
    background: linear-gradient(135deg, #FFF6E5, #FDE68A);
    color: #92400E;
    border: 1px solid #F59E0B;
}

.badge-premium-solid {
    background: #1B4332;
    color: #FBBF24 !important;
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.badge-verified {
    background-color: #E8F5E9;
    color: #1B5E20;
    border: 1px solid #A5D6A7;
}

.badge-mobile {
    background-color: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.badge-open {
    background-color: #DCFCE7;
    color: #15803D;
}

.badge-closed {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.badge-accepting {
    background-color: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-cream-200);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-sand);
}

.card-premium-featured {
    border: 2px solid #F59E0B;
    background: linear-gradient(to bottom, #FFFCF7, #FFFFFF);
    position: relative;
}

.card-premium-featured::before {
    content: "FEATURED";
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F59E0B;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
}

/* ==========================================================================
   Redesigned National Consumer Hero Section & Floating Search Bar
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 52px 0 72px;
    background: radial-gradient(circle at 85% 35%, rgba(220, 240, 232, 0.5) 0%, rgba(245, 240, 230, 0.35) 45%, #FAF8F5 75%);
    border-bottom: 1px solid var(--color-cream-200);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    gap: 40px;
    align-items: center;
}

.hero-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 67, 50, 0.06);
    border: 1px solid rgba(27, 67, 50, 0.16);
    color: #1B4332;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.04);
}

.eyebrow-scissors {
    font-size: 13px;
    color: #D4A373;
}

.hero-title {
    font-size: clamp(38px, 4.8vw, 68px);
    font-weight: 800;
    color: #143326;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero-title-highlight {
    color: #1B4332;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

/* Organic Hand-Drawn Underline / Swoosh (Groomer.org Custom Accent) */
.hero-hand-drawn-underline {
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 16px;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.hero-underline-path {
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
    animation: drawUnderlineOnce 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s 1 normal forwards;
}

@keyframes drawUnderlineOnce {
    to {
        stroke-dashoffset: 0;
    }
}

/* One-time Sparkle Animation (Twinkles once after underline finishes drawing, then rests completely still) */
.title-sparkle {
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 4px;
    display: inline-block;
    opacity: 0.9;
    transform-origin: center center;
    animation: sparkleOnce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s 1 normal forwards;
}

@keyframes sparkleOnce {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.85;
    }
    40% {
        transform: scale(1.35) rotate(20deg);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(244, 162, 97, 0.7));
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.95;
        filter: none;
    }
}

.hero-subtitle {
    font-size: 18.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 540px;
}

/* Floating Marketplace Search Bar */
.hero-search-container {
    margin-bottom: 22px;
    position: relative;
    z-index: 20;
}

.hero-search-bar {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 48px -12px rgba(27, 67, 50, 0.16), 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 2px solid #EAE3D2;
    padding: 10px 14px 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.hero-search-bar:focus-within {
    border-color: #1B4332;
    box-shadow: 0 24px 54px -10px rgba(27, 67, 50, 0.22), 0 0 0 4px rgba(27, 67, 50, 0.08);
}

.search-inputs-grid {
    display: grid;
    grid-template-columns: minmax(215px, 0.95fr) 1px minmax(265px, 1.25fr) auto;
    gap: 12px;
    align-items: center;
}

.search-col {
    padding: 6px 10px;
    border-radius: 14px;
    transition: background 0.15s ease;
    position: relative;
    min-width: 0;
}

.search-col:hover, .search-col:focus-within {
    background: #FAF8F5;
}

.search-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.label-icon {
    font-size: 12px;
}

/* Custom Select Architecture with Clean SVG Chevron */
.custom-select-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #143326;
    padding: 0 22px 0 0;
    outline: none;
    font-family: inherit;
    cursor: pointer;
    text-overflow: clip;
}

.custom-select-wrap::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%232D6A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.custom-select-wrap:hover::after {
    opacity: 1;
}

.hero-input {
    width: 100%;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #143326;
    padding: 0;
    outline: none;
    font-family: inherit;
}

.hero-input::placeholder {
    color: #94A3B8;
    font-weight: 500;
    font-size: 14.5px;
}

.service-sub-hint,
.location-sub-action {
    min-height: 18px;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.service-sub-hint span {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
    white-space: nowrap;
}

.hero-location-btn {
    background: none;
    border: none;
    color: #2D6A4F;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.hero-location-btn:hover {
    color: #143326;
    text-decoration: underline;
}

.search-divider {
    width: 1px;
    height: 48px;
    background: #EAE3D2;
}

.hero-cta-btn {
    background: #1B4332;
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 0 24px;
    height: 54px;
    font-size: 15.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.25);
    white-space: nowrap;
    align-self: center;
}

.hero-cta-btn:hover {
    background: #122E22;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(27, 67, 50, 0.35);
}

.hero-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-arrow {
    transition: transform 0.2s ease;
}

.search-sub-bar {
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid #F1ECE1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.accepting-pill-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.accepting-pill-switch:hover {
    border-color: #1B4332;
    background: #F4FBF7;
}

.accepting-pill-switch:has(input:checked),
.accepting-pill-switch.is-active {
    background: #E8F5EE;
    border-color: #059669;
}

.pill-slider-track {
    width: 32px;
    height: 18px;
    border-radius: 9999px;
    background: #CBD5E1;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    transition: background 0.2s ease;
}

.accepting-pill-switch:has(input:checked) .pill-slider-track,
.accepting-pill-switch.is-active .pill-slider-track {
    background: #059669;
}

.pill-slider-knob {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.accepting-pill-switch:has(input:checked) .pill-slider-knob,
.accepting-pill-switch.is-active .pill-slider-knob {
    transform: translateX(14px);
}

.pill-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1B4332;
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 6px #10B981;
}

.pill-title {
    font-weight: 700;
}

.pill-sub {
    color: #64748B;
    font-size: 12px;
}

/* Quick Search Chips */
.hero-chips-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.chips-intro {
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
}

.chips-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #D0DFD3;
    color: #1B4332;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(27,67,50,0.04);
}

.quick-chip:hover {
    background: #FAF8F5;
    border-color: #1B4332;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,67,50,0.1);
}

.chip-highlight {
    border-color: #059669;
    background: #F0FDF4;
    color: #047857;
    font-weight: 700;
}

.chip-highlight:hover {
    background: #DCFCE7;
    border-color: #047857;
}

.chip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

/* ==========================================================================
   Refined Hero Visual Stage:
   5 Rotating Before/After Grooming Transformations + Animated Bandana Motif
   ========================================================================== */
.hero-visual-stage {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single large organic pale-sage/aqua backdrop shape */
.visual-aura-backdrop {
    position: absolute;
    inset: -20px -25px -30px -20px;
    border-radius: 48% 52% 58% 42% / 46% 48% 52% 54%;
    background: linear-gradient(135deg, rgba(232, 243, 237, 0.85) 0%, rgba(214, 235, 227, 0.55) 45%, rgba(248, 243, 233, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   Subtle Atmosphere Bubbles (Freshly Groomed Bathing Theme)
   - Layered around the hero before/after grooming showcase
   - Foreground edge bubbles (z-index: 4) frame the outer edges of the photo
   - Background ambient bubbles (z-index: 2) sit behind photo, in front of sage aura (z-index: 1)
   - Perfectly calibrated opacity (0.18-0.34) for clear naked-eye perception
   - Crisp specular reflections, soft mint/aqua tints & delicate outlines
   - Vertical rise of 105-135px with 18-32px horizontal drift across 8.5-13.5s
   - Zero CPU thrash via translate3d / opacity only
   ========================================================================== */
.hero-showcase-bubbles {
    position: absolute;
    width: 100%;
    max-width: 480px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
}

.showcase-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(224, 250, 243, 0.85) 24%,
        rgba(167, 243, 208, 0.52) 58%,
        rgba(82, 183, 136, 0.36) 84%,
        rgba(45, 106, 79, 0.22) 100%
    );
    border: 1.5px solid rgba(45, 106, 79, 0.38);
    box-shadow: 
        inset -2px -2px 4px rgba(27, 67, 50, 0.20),
        inset 2px 2px 4px rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(82, 183, 136, 0.18);
    pointer-events: none;
    will-change: transform, opacity;
    opacity: 0;
}

.showcase-bubble::after {
    content: '';
    position: absolute;
    top: 16%;
    left: 18%;
    width: 32%;
    height: 22%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(-35deg);
    filter: blur(0.3px);
    pointer-events: none;
}

/* Layering: background vs foreground edge bubbles */
.showcase-bubble.bubble-bg {
    z-index: 2; /* Sits behind photo card */
}

.showcase-bubble.bubble-fg {
    z-index: 4; /* Floats above photo card perimeter, below badges/chips (z-index: 5/6) */
}

/* Individual Bubble Positions, Sizes & Gentle Staggered Floating */
/* sb-1: Medium (28px, FG) - Above top-right photo corner in hero whitespace */
.showcase-bubble.sb-1 {
    width: 28px;
    height: 28px;
    top: -30px;
    right: 20px;
    animation: bubbleFloatRise1 10.5s ease-in-out infinite -2.8s;
}

/* sb-2: Medium-Large (38px, FG) - Above top-left photo corner in open whitespace */
.showcase-bubble.sb-2 {
    width: 38px;
    height: 38px;
    top: -45px;
    left: -15px;
    animation: bubbleFloatRise2 13.5s ease-in-out infinite -7.5s;
}

/* sb-3: Medium (24px, FG) - Outer left, framing BEFORE thumbnail */
.showcase-bubble.sb-3 {
    width: 24px;
    height: 24px;
    bottom: 22%;
    left: -42px;
    animation: bubbleFloatRise5 9.0s ease-in-out infinite -1.4s;
}

/* sb-4: Small-Medium (20px, FG) - Below BEFORE thumbnail */
.showcase-bubble.sb-4 {
    width: 20px;
    height: 20px;
    bottom: 8%;
    left: -25px;
    animation: bubbleFloatRise3 9.8s ease-in-out infinite -4.2s;
}

/* sb-5: Medium-Large (34px, FG) - Outer right edge in sage aura */
.showcase-bubble.sb-5 {
    width: 34px;
    height: 34px;
    top: 38%;
    right: -36px;
    animation: bubbleFloatRise1 12.0s ease-in-out infinite -6.0s;
}

/* sb-6: Small-Medium (22px, FG) - Top-center floating above photo into whitespace */
.showcase-bubble.sb-6 {
    width: 22px;
    height: 22px;
    top: -35px;
    left: 38%;
    animation: bubbleFloatRise3 11.0s ease-in-out infinite -8.5s;
}

/* sb-7: Large (48px, BG) - Lower-right outer edge rising into sage aura */
.showcase-bubble.sb-7 {
    width: 48px;
    height: 48px;
    bottom: 12%;
    right: -42px;
    animation: bubbleFloatRise4 14.0s ease-in-out infinite -3.2s;
}

/* sb-8: Medium-Large (32px, FG) - Upper-right outer edge near bandana */
.showcase-bubble.sb-8 {
    width: 32px;
    height: 32px;
    top: 18%;
    right: -28px;
    animation: bubbleFloatRise2 10.0s ease-in-out infinite -5.5s;
}

/* sb-9: Small-Medium (18px, BG) - Outer left edge above BEFORE thumbnail */
.showcase-bubble.sb-9 {
    width: 18px;
    height: 18px;
    top: 52%;
    left: -32px;
    animation: bubbleFloatRise5 10.5s ease-in-out infinite -9.1s;
}

/* sb-10: Medium (26px, BG) - Top-left outer edge along sage contour */
.showcase-bubble.sb-10 {
    width: 26px;
    height: 26px;
    top: -15px;
    left: 10%;
    animation: bubbleFloatRise1 12.5s ease-in-out infinite -11.0s;
}

/* sb-11: Large (42px, BG) - Lower edge rising from below photo */
.showcase-bubble.sb-11 {
    width: 42px;
    height: 42px;
    bottom: -35px;
    left: 28%;
    animation: bubbleFloatRise3 8.5s ease-in-out infinite -2.0s;
}

/* Keyframes: 105-135px vertical travel, 18-32px drift, 0.18-0.34 clear perceived visibility */
@keyframes bubbleFloatRise1 {
    0% {
        transform: translate3d(0, 30px, 0) scale(0.92);
        opacity: 0;
    }
    12% {
        opacity: 0.32;
    }
    50% {
        transform: translate3d(18px, -52px, 0) scale(1.0);
        opacity: 0.30;
    }
    82% {
        transform: translate3d(28px, -102px, 0) scale(1.04);
        opacity: 0.22;
    }
    100% {
        transform: translate3d(32px, -128px, 0) scale(1.06);
        opacity: 0;
    }
}

@keyframes bubbleFloatRise2 {
    0% {
        transform: translate3d(0, 35px, 0) scale(0.94);
        opacity: 0;
    }
    10% {
        opacity: 0.30;
    }
    52% {
        transform: translate3d(-20px, -56px, 0) scale(1.01);
        opacity: 0.28;
    }
    80% {
        transform: translate3d(-30px, -108px, 0) scale(1.03);
        opacity: 0.20;
    }
    100% {
        transform: translate3d(-34px, -132px, 0) scale(1.05);
        opacity: 0;
    }
}

@keyframes bubbleFloatRise3 {
    0% {
        transform: translate3d(0, 25px, 0) scale(0.90);
        opacity: 0;
    }
    15% {
        opacity: 0.34;
    }
    48% {
        transform: translate3d(-14px, -46px, 0) scale(0.98);
        opacity: 0.32;
    }
    78% {
        transform: translate3d(18px, -98px, 0) scale(1.03);
        opacity: 0.22;
    }
    100% {
        transform: translate3d(24px, -124px, 0) scale(1.05);
        opacity: 0;
    }
}

@keyframes bubbleFloatRise4 {
    0% {
        transform: translate3d(0, 32px, 0) scale(0.95);
        opacity: 0;
    }
    12% {
        opacity: 0.26;
    }
    50% {
        transform: translate3d(22px, -50px, 0) scale(1.0);
        opacity: 0.24;
    }
    82% {
        transform: translate3d(-14px, -98px, 0) scale(1.03);
        opacity: 0.18;
    }
    100% {
        transform: translate3d(-18px, -124px, 0) scale(1.04);
        opacity: 0;
    }
}

@keyframes bubbleFloatRise5 {
    0% {
        transform: translate3d(0, 28px, 0) scale(0.90);
        opacity: 0;
    }
    14% {
        opacity: 0.32;
    }
    50% {
        transform: translate3d(16px, -54px, 0) scale(1.0);
        opacity: 0.30;
    }
    80% {
        transform: translate3d(26px, -104px, 0) scale(1.04);
        opacity: 0.20;
    }
    100% {
        transform: translate3d(30px, -130px, 0) scale(1.06);
        opacity: 0;
    }
}

/* Main Transformation Carousel Container */
.hero-transform-carousel {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Primary Showcase Card: Dominant Freshly Groomed AFTER Photo */
.pet-showcase-main {
    position: relative;
    z-index: 3;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 54px -12px rgba(27, 67, 50, 0.22), 0 0 0 5px #FFFFFF;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    background: #F4EFE6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pet-showcase-main:hover {
    box-shadow: 0 28px 60px -10px rgba(27, 67, 50, 0.26), 0 0 0 5px #FFFFFF;
}

/* Stacked Slides for Smooth Crossfade & 1-1.5% Settle (No cheap horizontal slide) */
.showcase-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.showcase-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.main-pet-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Integrated Synchronized Freshly Groomed pill pinned inside showcase */
.freshly-groomed-chip {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #047857;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 7px 15px;
    border-radius: 9999px;
    border: 1px solid rgba(167, 243, 208, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.freshly-groomed-chip.chip-updating {
    opacity: 0.4;
    transform: translateY(2px);
}

.chip-sparkle {
    font-size: 12px;
    animation: sparklePulse 3s ease-in-out infinite;
}

/* Discreet Circular Navigation Arrows (appear on hover/focus) */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 67, 50, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #1B4332;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-nav-prev {
    left: 14px;
}

.hero-nav-next {
    right: 14px;
}

.pet-showcase-main:hover .hero-nav-arrow,
.hero-nav-arrow:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

.hero-nav-arrow:hover {
    background: #FFFFFF;
    color: #047857;
    transform: translateY(-50%) scale(1.08);
}

.hero-nav-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

/* Secondary Photo: Overlapping Before Grooming Photo tucked on lower-left */
.pet-photo-before-frame {
    position: absolute;
    bottom: 24px;
    left: -28px;
    z-index: 4;
    width: 135px;
    height: 135px;
    border-radius: 22px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 14px 32px rgba(27, 67, 50, 0.18);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #EAE3D2;
}

.pet-photo-before-frame:hover {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 18px 36px rgba(27, 67, 50, 0.22);
}

.before-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.before-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.before-pet-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-photo-tag {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(19, 33, 44, 0.88);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    white-space: nowrap;
    z-index: 4;
}

/* Screen reader only utility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Subtle Passive Showcase Indicator Dots (hands-free, purely decorative) */
.hero-showcase-dots,
.hero-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    z-index: 5;
    pointer-events: none;
    user-select: none;
}

.showcase-dot,
.carousel-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #CBD5E1;
    border: none;
    padding: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-dot.active,
.carousel-dot.active {
    width: 22px;
    height: 7px;
    background: #1B4332;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.22);
}

/* Illustrated Animated Bandana / Salon Finish Motif (Upper-Right Accent) */
.hero-bandana-motif {
    position: absolute;
    top: 18px;
    right: -24px;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bandana-crest {
    background: #FFFFFF;
    border-radius: 9999px;
    padding: 6px 14px 6px 8px;
    border: 1.5px solid #A7F3D0;
    box-shadow: 0 10px 24px -4px rgba(27, 67, 50, 0.14), 0 2px 6px rgba(0,0,0,0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform-origin: 50% 20%;
    transition: transform 0.25s ease;
}

.hero-bandana-motif.is-swaying .bandana-crest {
    animation: bandanaSway 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bandanaSway {
    0% { transform: rotate(0deg); }
    22% { transform: rotate(6deg) scale(1.04); }
    48% { transform: rotate(-4deg) scale(1.02); }
    72% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

.bandana-svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.bandana-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #047857;
    white-space: nowrap;
}

.bandana-sparkle {
    position: absolute;
    color: #F59E0B;
    pointer-events: none;
    line-height: 1;
}

.bandana-sparkle.sp1 {
    top: -6px;
    right: 6px;
    font-size: 13px;
    animation: sparkleTwinkle 2.5s ease-in-out infinite;
}

.bandana-sparkle.sp2 {
    bottom: -6px;
    left: 10px;
    font-size: 11px;
    animation: sparkleTwinkle 2.5s ease-in-out infinite 1.25s;
}

@keyframes sparkleTwinkle {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* Fallback/Legacy rule for compatibility */
.hero-availability-card {
    position: absolute;
    top: 20px;
    right: -24px;
    z-index: 5;
    background: #FFFFFF;
    border-radius: 9999px;
    padding: 9px 18px 9px 14px;
    border: 1.5px solid #A7F3D0;
    box-shadow: 0 12px 28px -4px rgba(27, 67, 50, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.discovery-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

.availability-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.availability-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #047857;
}

.availability-sub {
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
}

/* ==========================================================================
   Continuous Dynamic Transition Rail (Replacing 4 generic boxes)
   ========================================================================== */
.hero-transition-section {
    padding: 24px 0 54px;
    position: relative;
    z-index: 10;
}

.transition-rail {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1.5px solid #EAE3D2;
    box-shadow: 0 12px 32px -8px rgba(27, 67, 50, 0.08);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 8px 14px;
}

.rail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.rail-item:hover {
    background: #FAF8F5;
    transform: translateY(-2px);
}

.rail-divider {
    width: 1px;
    height: 48px;
    background: #EAE3D2;
}

.rail-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.icon-forest { background: #E8EFE9; color: #1B4332; }
.icon-sage { background: #E8F5EE; color: #059669; }
.icon-amber { background: #FEF3C7; color: #B45309; }
.icon-coral { background: #FEE2E2; color: #DC2626; }

.rail-live-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

.rail-content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.rail-kicker {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    margin-bottom: 3px;
}

.kicker-green { color: #059669; }

.rail-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #143326;
    margin: 0 0 2px;
}

.rail-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0;
}

/* ==========================================================================
   Star Rating Component
   ========================================================================== */
.rating,
.star-rating {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    vertical-align: middle;
}

.rating-stars,
.star-rating-stars {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.rating-stars svg,
.star-rating-stars svg,
.star-icon {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
    vertical-align: middle;
}

.star-icon-full path,
.star-icon-full {
    fill: #E08734 !important;
    color: #E08734 !important;
}

.star-icon-empty path,
.star-icon-empty {
    fill: #CBD5E1 !important;
    color: #CBD5E1 !important;
}

.rating-score,
.star-rating-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-left: 2px;
    line-height: 1;
}

.rating-count,
.star-rating-count {
    font-size: 13px;
    color: var(--color-slate-500);
    font-weight: 500;
    line-height: 1;
}

.no-reviews-note {
    font-size: 13px;
    color: var(--color-slate-500);
    font-weight: 500;
    line-height: 1;
}

/* ==========================================================================
   Variant A — Directory / Search Card (Horizontal)
   ========================================================================== */
.groomer-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-cream-200);
    overflow: hidden;
    transition: all 0.25s ease;
    width: 100%;
    min-width: 0;
}

.groomer-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-sand);
    transform: translateY(-2px);
}

.groomer-card-media {
    position: relative;
    width: 250px;
    height: 100%;
    min-height: 250px;
    max-height: 310px;
    background-color: var(--color-cream-100);
    flex-shrink: 0;
}

.groomer-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.groomer-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.groomer-card:hover .groomer-card-media img {
    transform: scale(1.02);
}

.groomer-card-media-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
}

.groomer-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.groomer-card-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.groomer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.groomer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.25;
    margin: 0;
}

.groomer-title a {
    color: inherit;
}

.groomer-title a:hover {
    color: var(--color-forest-800);
}

.groomer-price-pill {
    font-size: 13px;
    font-weight: 700;
    color: #4F7060;
    background: #E8EFE9;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    line-height: 1.2;
}

.groomer-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.groomer-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--color-slate-600);
}

.groomer-rating-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.meta-dot {
    color: #94A3B8;
    font-weight: bold;
}

.groomer-location-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.groomer-card-desc {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.5;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    background-color: var(--color-cream-100);
    color: var(--color-slate-700);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.groomer-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-cream-200);
    gap: 12px;
    flex-wrap: wrap;
}

.groomer-card-actions-left {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.groomer-profile-btn {
    margin-left: auto;
}

/* ==========================================================================
   Variant B — Homepage Featured Showcase (Vertical Card Grid)
   ========================================================================== */
.featured-groomers-section {
    padding: 48px 0 64px;
    background: #FAF8F5;
}

.featured-groomers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.featured-groomers-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-groomers-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-cream-200);
    overflow: hidden;
    height: 100%;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-sand);
}

.featured-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: var(--color-cream-100);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-card-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.featured-card:hover .featured-card-media img {
    transform: scale(1.03);
}

.featured-card-overlay-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 5;
}

.featured-card-overlay-top .badge,
.featured-card-overlay-top .fav-btn {
    pointer-events: auto;
}

.featured-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.featured-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.featured-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.featured-card-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-title a {
    color: inherit;
}

.featured-card-title a:hover {
    color: var(--color-forest-800);
}

.price-pill {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-forest-800);
    background-color: var(--color-cream-100);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.featured-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.featured-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}

.featured-card-rating {
    display: flex;
    align-items: center;
}

.featured-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--color-slate-600);
    font-weight: 500;
}

.featured-card-desc {
    font-size: 13px;
    color: var(--color-slate-600);
    line-height: 1.45;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--color-cream-200);
}

.featured-card-btn {
    width: 100%;
    justify-content: center;
}

/* Save / Favorite Heart Button */
.fav-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-slate-400);
    transition: all 0.2s ease;
}

.fav-btn:hover {
    color: var(--color-coral-500);
    border-color: var(--color-coral-400);
    transform: scale(1.1);
}

.fav-btn.active {
    color: var(--color-coral-500);
    background: #FFF1EE;
    border-color: var(--color-coral-500);
}

.fav-btn.active svg {
    fill: var(--color-coral-500);
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Footer */
.site-footer {
    background-color: var(--color-forest-950);
    color: #A3C9B8;
    padding: 70px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #A3C9B8;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    color: #6C9382;
}

/* Mobile Sticky Groomer Profile Bottom Bar */
.mobile-sticky-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-slate-200);
    padding: 12px 16px;
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 10px;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .featured-groomers-grid,
    .featured-groomers-grid.cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .trust-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Refine hero showcase atmosphere bubbles on tablet */
    .showcase-bubble.sb-7,
    .showcase-bubble.sb-9,
    .showcase-bubble.sb-11 {
        display: none;
    }
}

@media (max-width: 900px) {
    .featured-groomers-grid,
    .featured-groomers-grid.cols-4,
    .featured-groomers-grid.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .groomer-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .groomer-card-media {
        width: 220px;
        min-height: 240px;
    }
    .groomer-card-body {
        padding: 18px 20px;
    }
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-left-column {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }
    .hero-eyebrow-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-chips-wrap,
    .chips-flow,
    .search-sub-bar {
        justify-content: center;
    }
    .transition-rail {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
    }
    .rail-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links, 
    .nav-actions .btn-outline,
    .nav-login-link,
    .nav-list-btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .site-header .nav-wrapper {
        height: 64px;
    }
    .brand-logo img {
        height: 38px !important;
        width: auto !important;
    }
    .hero-section {
        padding: 32px 0 44px;
    }
    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
        line-height: 1.18;
        margin-bottom: 20px;
    }
    .hero-hand-drawn-underline {
        bottom: -5px;
        height: 12px;
    }
    .hero-underline-path {
        stroke-width: 4.2px;
    }
    .hero-subtitle {
        font-size: 15.5px;
        margin-bottom: 22px;
    }
    .hero-search-bar {
        padding: 14px;
        border-radius: 20px;
    }
    .search-inputs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .search-divider {
        display: none;
    }
    .search-col {
        padding: 8px 12px;
        background: #FAF8F5;
        border-radius: 12px;
        border: 1px solid #EAE3D2;
        text-align: left;
    }
    .hero-cta-btn {
        width: 100%;
        height: 52px;
        justify-content: center;
    }
    .accepting-pill-switch {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
    .pill-content {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .hero-chips-wrap {
        gap: 6px;
    }
    .chips-intro {
        width: 100%;
        text-align: center;
    }
    .quick-chip {
        font-size: 12px;
        padding: 5px 10px;
    }
    .hero-visual-stage {
        min-height: unset;
        padding: 20px 0 28px;
        overflow: visible;
    }
    .hero-showcase-bubbles {
        max-width: 320px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        overflow: visible;
    }
    /* Keep 6 bubbles on mobile, positioned outside photo card in mobile whitespace */
    .showcase-bubble.sb-1,
    .showcase-bubble.sb-6,
    .showcase-bubble.sb-7,
    .showcase-bubble.sb-9,
    .showcase-bubble.sb-11 {
        display: none;
    }
    .showcase-bubble.sb-2 {
        width: 30px;
        height: 30px;
        top: -24px;
        left: -8px;
    }
    .showcase-bubble.sb-3 {
        width: 20px;
        height: 20px;
        bottom: 24%;
        left: -14px;
    }
    .showcase-bubble.sb-4 {
        width: 16px;
        height: 16px;
        bottom: 6%;
        left: -10px;
    }
    .showcase-bubble.sb-5 {
        width: 26px;
        height: 26px;
        top: 36%;
        right: -14px;
    }
    .showcase-bubble.sb-8 {
        width: 24px;
        height: 24px;
        top: 14%;
        right: -12px;
    }
    .showcase-bubble.sb-10 {
        width: 22px;
        height: 22px;
        top: -16px;
        left: 20%;
    }
    .hero-transform-carousel {
        max-width: 320px;
        margin: 0 auto;
    }
    .pet-showcase-main {
        max-width: 320px;
        border-radius: 24px;
        margin: 0 auto;
    }
    .pet-photo-before-frame {
        width: 92px;
        height: 92px;
        border-radius: 16px;
        bottom: 8px;
        left: -10px;
        border-width: 3px;
        transform: rotate(-2deg);
    }
    .hero-bandana-motif {
        top: 6px;
        right: -8px;
        transform: scale(0.9);
        transform-origin: top right;
    }
    .hero-nav-arrow {
        width: 32px;
        height: 32px;
        opacity: 0.85;
        pointer-events: auto;
    }
    .hero-nav-prev {
        left: 8px;
    }
    .hero-nav-next {
        right: 8px;
    }
    .freshly-groomed-chip {
        bottom: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 9.5px;
    }
    .hero-carousel-dots {
        margin-top: 10px;
        gap: 6px;
    }
    .carousel-dot {
        width: 7px;
        height: 7px;
    }
    .carousel-dot.active {
        width: 20px;
    }
    .transition-rail {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px;
    }
    .search-form-grid {
        grid-template-columns: 1fr;
    }
    .groomer-card {
        grid-template-columns: 1fr;
    }
    .groomer-card-media {
        width: 100%;
        height: 210px;
        min-height: unset;
        max-height: unset;
    }
    .groomer-card-body {
        padding: 18px;
    }
    .groomer-card-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .groomer-card-actions-left {
        width: 100%;
    }
    .groomer-card-actions-left .btn {
        flex: 1;
    }
    .groomer-profile-btn {
        width: 100%;
        margin-left: 0;
    }
    .trust-blocks-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mobile-sticky-action-bar {
        display: block;
    }
    body.has-sticky-bar {
        padding-bottom: 76px;
    }
}

@media (max-width: 580px) {
    .featured-groomers-grid,
    .featured-groomers-grid.cols-4,
    .featured-groomers-grid.cols-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .groomer-card-actions-left {
        flex-direction: column;
    }
    .groomer-card-actions-left .btn {
        width: 100%;
    }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Availability & Client Status Componentry
   ========================================================================== */

/* Availability Badges */
.badge-accepting {
    background-color: #E8F5E9;
    color: #1B4332;
    border: 1px solid #A7F3D0;
    font-weight: 700;
}
.badge-accepting-premium {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    color: #FFFFFF !important;
    border: 1px solid #1B4332;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.2);
    letter-spacing: 0.03em;
    font-weight: 800;
}
.badge-paused {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
    font-weight: 600;
}
.badge-waitlist {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
    font-weight: 600;
}
.badge-not-accepting {
    background-color: #F1F5F9;
    color: #64748B;
    border: 1px solid #E2E8F0;
    font-weight: 500;
}

/* Status Indicator Dots */
.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.status-dot-green {
    background-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.status-dot-amber {
    background-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.status-dot-neutral {
    background-color: #94A3B8;
}

/* Groomer Availability Dashboard Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #CBD5E1;
    transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 28px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: #FFFFFF;
    transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.toggle-switch input:checked + .toggle-slider {
    background-color: #10B981;
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}
.toggle-switch input:focus-visible + .toggle-slider {
    outline: 2px solid var(--color-forest-800);
    outline-offset: 2px;
}

/* Quick Filter Pills (Search Results) */
.quick-pills-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 6px 0;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.quick-pills-bar::-webkit-scrollbar {
    display: none;
}
.quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    background: #FFFFFF;
    color: #2D3142;
    border: 1px solid #EAE3D2;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}
.quick-pill:hover {
    border-color: #1B4332;
    color: #1B4332;
    background: #FAF8F5;
}
.quick-pill.active {
    background: #1B4332;
    color: #FFFFFF;
    border-color: #1B4332;
}
.quick-pill.pill-accepting.active {
    background: #047857;
    border-color: #047857;
}

/* Toast Notification for Instant Feedback */
.availability-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1B4332;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.availability-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   FOR-GROOMERS ACQUISITION & SALES PAGE STYLING
   ========================================================================== */

/* Hero */
.fg-hero-section {
    background: radial-gradient(circle at 10% 20%, #F5F0E6 0%, #FAF8F5 100%);
    padding: 70px 0 80px;
    border-bottom: 1px solid #EAE3D2;
    position: relative;
    overflow: hidden;
}
.fg-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.fg-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8EFE9;
    color: #1B4332;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}
.fg-hero-headline {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 850;
    color: #143326;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0 0 20px;
}
/* Kinetic Typewriter Headline & Zero-Layout-Shift Controls */
.fg-headline-animated {
    display: block;
}
.fg-headline-animated-row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    position: relative;
    width: 100%;
}
.fg-headline-ghost {
    grid-area: 1 / 1;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    white-space: normal;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.fg-headline-content {
    grid-area: 1 / 1;
    display: block;
    text-align: left;
    white-space: normal;
}
.fg-static-prefix {
    display: inline;
}
.fg-typewriter-text {
    display: inline;
    color: #143326;
}
.fg-typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background-color: #E07A5F;
    margin-left: 3px;
    vertical-align: -0.05em;
    border-radius: 1.5px;
    opacity: 1;
    animation: fgCaretBlink 0.95s infinite;
}
.fg-typewriter-cursor.is-typing {
    animation: none;
    opacity: 1;
}
.fg-typewriter-cursor.is-complete {
    animation: fgCaretPulse 1.2s ease-in-out infinite;
}
@keyframes fgCaretBlink {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fgCaretPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.45; transform: scaleY(1.08); }
}
.fg-headline-static-row {
    display: block;
}
.fg-headline-reduced-motion {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    .fg-headline-animated {
        display: none !important;
    }
    .fg-headline-reduced-motion {
        display: block !important;
    }
}
.fg-hero-sub {
    font-size: 18px;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 580px;
}
.fg-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.fg-reassurance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
}
.fg-reassurance-dot {
    color: #10B981;
    font-weight: 800;
}

/* Hero Right Visual Stage */
.fg-hero-visual-stage {
    position: relative;
}
.fg-hero-photo-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 50px -12px rgba(20, 51, 38, 0.18);
    border: 4px solid #FFFFFF;
    background: #F0ECE1;
}
.fg-hero-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.fg-example-card {
    position: absolute;
    bottom: -22px;
    left: -20px;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border: 1.5px solid #EAE3D2;
    max-width: 320px;
    width: calc(100% - 20px);
    z-index: 10;
}
.fg-example-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #769E8C;
    background: #F3F7F5;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.fg-example-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.fg-example-name {
    font-size: 16px;
    font-weight: 800;
    color: #143326;
}
.fg-example-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #065F46;
    background: #ECFDF5;
    padding: 3px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}
.fg-example-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 8px;
}
.fg-example-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.fg-example-pill {
    font-size: 11px;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    color: #4A5568;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 500;
}
.fg-example-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #1B4332;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.fg-example-btn:hover {
    background: #143326;
    color: #FFFFFF;
}

/* Benefit Cards */
.fg-benefits-section {
    padding: 85px 0 75px;
    background: #F3F7F5;
    border-bottom: 1px solid #E3ECE7;
}
.fg-section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 850;
    color: #143326;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.fg-section-sub {
    font-size: 17px;
    color: #556960;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}
.fg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.fg-benefit-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 34px 28px;
    border: 1.5px solid #E0EBE5;
    box-shadow: 0 10px 25px rgba(20, 51, 38, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fg-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(20, 51, 38, 0.08);
}
.fg-benefit-graphic {
    width: 100%;
    max-width: 260px;
    height: 96px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.fg-benefit-graphic svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    filter: drop-shadow(0 4px 12px rgba(20, 51, 38, 0.05));
    transition: transform 0.25s ease, filter 0.25s ease;
}
.fg-benefit-card:hover .fg-benefit-graphic svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 16px rgba(20, 51, 38, 0.08));
}

/* Card 1: Portfolio Before/After (0s offset) */
.fg-portfolio-before {
    animation: fgPortfolioBefore 6s ease-in-out infinite;
    transform-origin: 92px 47px;
}
.fg-portfolio-after {
    animation: fgPortfolioAfter 6s ease-in-out infinite;
    transform-origin: 169px 47px;
}
.fg-portfolio-sheen {
    animation: fgPortfolioSheen 6s ease-in-out infinite;
}
.fg-portfolio-sparkle {
    animation: fgSparklePulse 6s ease-in-out infinite;
    transform-origin: 210px 16px;
}

@keyframes fgPortfolioBefore {
    0%, 15% { transform: translate(48px, 14px) scale(0.96); opacity: 0.85; }
    25%, 72% { transform: translate(32px, 14px) scale(1); opacity: 1; }
    88%, 100% { transform: translate(48px, 14px) scale(0.96); opacity: 0.85; }
}

@keyframes fgPortfolioAfter {
    0%, 15% { transform: translate(118px, 11px) scale(1); }
    26%, 36% { transform: translate(138px, 11px) rotate(3deg); }
    48%, 80% { transform: translate(110px, 9px) scale(1.04); }
    92%, 100% { transform: translate(118px, 11px) scale(1); }
}

@keyframes fgPortfolioSheen {
    0%, 48% { transform: translateX(-70px) skewX(-20deg); opacity: 0; }
    54% { opacity: 0.85; }
    66%, 100% { transform: translateX(120px) skewX(-20deg); opacity: 0; }
}

@keyframes fgSparklePulse {
    0%, 52% { transform: scale(0) rotate(0deg); opacity: 0; }
    62% { transform: scale(1.35) rotate(45deg); opacity: 1; }
    74% { transform: scale(0.9) rotate(90deg); opacity: 0.9; }
    84%, 100% { transform: scale(0) rotate(135deg); opacity: 0; }
}

/* Card 2: Availability Toggle & Calendar (0.7s offset) */
.fg-toggle-track {
    animation: fgTrackToggle 6s ease-in-out infinite;
    animation-delay: 0.7s;
}
.fg-toggle-knob {
    animation: fgKnobSlide 6s ease-in-out infinite;
    animation-delay: 0.7s;
}
.fg-pill-off {
    animation: fgPillOff 6s ease-in-out infinite;
    animation-delay: 0.7s;
}
.fg-pill-on {
    animation: fgPillOn 6s ease-in-out infinite;
    animation-delay: 0.7s;
}
.fg-avail-pulse-ring {
    animation: fgPulseRing 6s ease-out infinite;
    animation-delay: 0.7s;
    transform-origin: 12px 12px;
}
.fg-cal-slot-open {
    animation: fgCalSlotPulse 6s ease-in-out infinite;
    animation-delay: 0.7s;
    transform-origin: 42px 52px;
}

@keyframes fgTrackToggle {
    0%, 18% { fill: #E2E8F0; stroke: #CBD5E1; }
    28%, 82% { fill: #10B981; stroke: #059669; }
    92%, 100% { fill: #E2E8F0; stroke: #CBD5E1; }
}

@keyframes fgKnobSlide {
    0%, 18% { cx: 13px; }
    28%, 82% { cx: 37px; }
    92%, 100% { cx: 13px; }
}

@keyframes fgPillOff {
    0%, 18% { opacity: 1; transform: translate(0, 36px); }
    26%, 82% { opacity: 0; transform: translate(0, 40px); pointer-events: none; }
    90%, 100% { opacity: 1; transform: translate(0, 36px); }
}

@keyframes fgPillOn {
    0%, 18% { opacity: 0; transform: translate(0, 32px); }
    28%, 82% { opacity: 1; transform: translate(0, 36px); }
    90%, 100% { opacity: 0; transform: translate(0, 32px); }
}

@keyframes fgPulseRing {
    0%, 28% { transform: scale(1); opacity: 0; }
    38% { opacity: 0.85; }
    56% { transform: scale(2.4); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes fgCalSlotPulse {
    0%, 34% { transform: scale(1); }
    44% { transform: scale(1.06); }
    54%, 80% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Card 3: Search -> Profile -> Booked (1.4s offset) */
.fg-funnel-search {
    animation: fgFunnelSearch 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-search-glass {
    animation: fgGlassSweep 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-search-cursor {
    animation: fgCursorBlink 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-funnel-card {
    animation: fgFunnelCard 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-btn-book {
    animation: fgBtnBook 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-btn-tap {
    animation: fgBtnTap 6s ease-out infinite;
    animation-delay: 1.4s;
}
.fg-badge-booked {
    animation: fgBadgeBooked 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-check-path {
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    animation: fgCheckDraw 6s ease-in-out infinite;
    animation-delay: 1.4s;
}
.fg-step-1 {
    animation: fgStep1 6s infinite;
    animation-delay: 1.4s;
}
.fg-step-2 {
    animation: fgStep2 6s infinite;
    animation-delay: 1.4s;
}
.fg-step-3 {
    animation: fgStep3 6s infinite;
    animation-delay: 1.4s;
}

@keyframes fgFunnelSearch {
    0%, 20% { opacity: 1; transform: translate(18px, 28px); }
    28%, 88% { opacity: 0; transform: translate(18px, 14px); pointer-events: none; }
    94%, 100% { opacity: 1; transform: translate(18px, 28px); }
}

@keyframes fgGlassSweep {
    0% { transform: translate(16px, 14px); }
    10% { transform: translate(24px, 14px); }
    20%, 100% { transform: translate(16px, 14px); }
}

@keyframes fgCursorBlink {
    0%, 8%, 16% { opacity: 1; }
    4%, 12% { opacity: 0; }
    22%, 100% { opacity: 0; }
}

@keyframes fgFunnelCard {
    0%, 20% { opacity: 0; transform: translate(18px, 36px); pointer-events: none; }
    28%, 88% { opacity: 1; transform: translate(18px, 24px); }
    94%, 100% { opacity: 0; transform: translate(18px, 36px); }
}

@keyframes fgBtnBook {
    0%, 38% { opacity: 1; transform: translate(132px, 14px) scale(1); }
    44% { transform: translate(132px, 14px) scale(0.92); }
    50%, 88% { opacity: 0; transform: translate(132px, 14px) scale(0.95); pointer-events: none; }
    94%, 100% { opacity: 1; transform: translate(132px, 14px) scale(1); }
}

@keyframes fgBtnTap {
    0%, 42% { opacity: 0; r: 6px; }
    46% { opacity: 0.6; }
    52% { opacity: 0; r: 24px; }
    100% { opacity: 0; }
}

@keyframes fgBadgeBooked {
    0%, 48% { opacity: 0; transform: translate(112px, 18px) scale(0.85); pointer-events: none; }
    56%, 86% { opacity: 1; transform: translate(112px, 14px) scale(1); }
    92%, 100% { opacity: 0; transform: translate(112px, 18px) scale(0.85); }
}

@keyframes fgCheckDraw {
    0%, 54% { stroke-dashoffset: 18; }
    66%, 86% { stroke-dashoffset: 0; }
    92%, 100% { stroke-dashoffset: 18; }
}

@keyframes fgStep1 {
    0%, 22% { fill: #1B4332; }
    28%, 100% { fill: #DCD5C5; }
}

@keyframes fgStep2 {
    0%, 22% { fill: #DCD5C5; }
    28%, 48% { fill: #1B4332; }
    54%, 100% { fill: #DCD5C5; }
}

@keyframes fgStep3 {
    0%, 48% { fill: #DCD5C5; }
    54%, 88% { fill: #10B981; }
    94%, 100% { fill: #DCD5C5; }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    .fg-portfolio-before,
    .fg-portfolio-after,
    .fg-portfolio-sheen,
    .fg-portfolio-sparkle,
    .fg-toggle-track,
    .fg-toggle-knob,
    .fg-pill-off,
    .fg-pill-on,
    .fg-avail-pulse-ring,
    .fg-cal-slot-open,
    .fg-funnel-search,
    .fg-search-glass,
    .fg-search-cursor,
    .fg-funnel-card,
    .fg-btn-book,
    .fg-btn-tap,
    .fg-badge-booked,
    .fg-check-path,
    .fg-step-1,
    .fg-step-2,
    .fg-step-3 {
        animation: none !important;
    }
    .fg-portfolio-before { transform: translate(32px, 14px) !important; opacity: 1 !important; }
    .fg-portfolio-after { transform: translate(110px, 9px) scale(1.04) !important; }
    .fg-portfolio-sparkle { transform: scale(1) rotate(45deg) !important; opacity: 1 !important; }
    .fg-toggle-track { fill: #10B981 !important; stroke: #059669 !important; }
    .fg-toggle-knob { cx: 37px !important; }
    .fg-pill-off { display: none !important; }
    .fg-pill-on { opacity: 1 !important; transform: translate(0, 36px) !important; }
    .fg-funnel-search { display: none !important; }
    .fg-funnel-card { opacity: 1 !important; transform: translate(18px, 24px) !important; }
    .fg-btn-book { display: none !important; }
    .fg-badge-booked { opacity: 1 !important; transform: translate(112px, 14px) scale(1) !important; }
    .fg-check-path { stroke-dashoffset: 0 !important; }
    .fg-step-3 { fill: #10B981 !important; }
}

/* Dashboard Mockup */
.fg-dashboard-section {
    padding: 90px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #EAE3D2;
}
.fg-mockup-frame {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1.5px solid #D5E1DB;
    box-shadow: 0 24px 60px -15px rgba(20, 51, 38, 0.16);
    overflow: hidden;
    max-width: 980px;
    margin: 45px auto 0;
}
.fg-mockup-topbar {
    background: #F3F7F5;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #E0EBE5;
}
.fg-mockup-dots {
    display: flex;
    gap: 7px;
}
.fg-mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.fg-mockup-url {
    background: #FFFFFF;
    border: 1px solid #D5E1DB;
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 12px;
    color: #556960;
    font-family: monospace;
    flex: 1;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fg-mockup-body {
    padding: 28px 32px 34px;
    background: #FAF8F5;
}
.fg-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EAE3D2;
}
.fg-mockup-greeting {
    font-size: 20px;
    font-weight: 800;
    color: #143326;
}
.fg-demo-cursor {
    position: absolute;
    width: 20px;
    height: 26px;
    pointer-events: none;
    z-index: 50;
    top: 0;
    left: 0;
    transform: translate3d(550px, -20px, 0);
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.22));
}
.fg-demo-cursor svg {
    display: block;
    width: 100%;
    height: 100%;
}
.fg-demo-cursor.is-clicking {
    transform: translate3d(var(--cursor-x, 0), var(--cursor-y, 0), 0) scale(0.85) !important;
    transition: transform 0.12s ease !important;
}
.fg-mockup-toggle-box {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
}
.fg-mockup-toggle-box.is-active {
    border-color: #10B981;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.16);
}
.fg-mockup-toggle-box.has-pulsed {
    animation: fgBoxGlowPulse 0.8s ease-out 1;
}
@keyframes fgBoxGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15); }
    100% { box-shadow: 0 4px 18px rgba(16, 185, 129, 0.16); }
}
.fg-toggle-switch {
    width: 52px;
    height: 28px;
    background: #CBD5E1;
    border-radius: 9999px;
    position: relative;
    cursor: default;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.35s ease;
}
.fg-toggle-switch.is-on {
    background-color: #10B981;
}
.fg-toggle-thumb {
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.fg-toggle-switch.is-on .fg-toggle-thumb {
    transform: translateX(24px);
}
.fg-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.fg-stat-box {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    padding: 18px;
    text-align: left;
    position: relative;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}
.fg-stat-box.is-counting {
    background: #FAF5EB;
    border-color: #DDD1BE;
    transform: translateY(-2px);
}
.fg-stat-box.is-booking-highlighted {
    background: #ECFDF5;
    border-color: #A7F3D0;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.14);
    transform: translateY(-2px);
}
.fg-stat-num {
    font-size: 28px;
    font-weight: 850;
    color: #143326;
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}
.fg-booking-stat .fg-stat-num {
    transition: color 0.3s ease;
}
.fg-booking-stat.is-booking-highlighted .fg-stat-num {
    color: #065F46;
}
.fg-stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    vertical-align: middle;
}
.fg-stat-badge.is-visible {
    opacity: 1;
    transform: scale(1);
}
.fg-booking-badge {
    background: #10B981;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}
.fg-click-badge,
.fg-inquiry-badge {
    font-size: 13px;
}
.fg-stat-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
}
@media (max-width: 768px) {
    .fg-demo-cursor {
        display: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .fg-demo-cursor {
        display: none !important;
    }
    .fg-stat-box.is-counting,
    .fg-stat-box.is-booking-highlighted {
        transform: none !important;
    }
}

/* Transformations */
.fg-transform-section {
    padding: 90px 0;
    background: #F9F7F3;
    border-bottom: 1px solid #EAE3D2;
}
.fg-transform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.fg-transform-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1.5px solid #EAE3D2;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.fg-transform-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}
.fg-transform-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.fg-transform-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fg-transform-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.fg-pill-before {
    background: rgba(30, 41, 59, 0.85);
    color: #FFFFFF;
}
.fg-pill-after {
    background: rgba(4, 120, 87, 0.9);
    color: #FFFFFF;
}
.fg-transform-info {
    padding: 20px 22px;
}
.fg-transform-title {
    font-size: 17px;
    font-weight: 800;
    color: #143326;
    margin-bottom: 4px;
}
.fg-transform-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

/* Featured Placement Demo */
.fg-featured-demo-section {
    padding: 85px 0;
    background: #EDF4F0;
    border-bottom: 1px solid #DCE8E1;
}
.fg-search-mockup-frame {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1.5px solid #D5E1DB;
    padding: 28px;
    max-width: 860px;
    margin: 40px auto 0;
    box-shadow: 0 16px 40px rgba(20, 51, 38, 0.08);
}
.fg-search-cursor {
    z-index: 60;
}
.fg-mock-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #EAE3D2;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.fg-mock-search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.fg-mock-search-input.is-focused {
    background: #FFFFFF;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.fg-search-icon {
    font-size: 18px;
    line-height: 1;
}
.fg-search-text-wrap {
    font-size: 15px;
    font-weight: 750;
    color: #143326;
    display: inline-flex;
    align-items: center;
}
.fg-search-prefix {
    color: #143326;
    font-weight: 750;
    margin-right: 5px;
    transition: opacity 0.2s ease;
}
.fg-search-typed-text {
    color: #143326;
    font-weight: 750;
    min-height: 20px;
    transition: color 0.2s ease;
}
.fg-search-typed-text.is-placeholder {
    color: #94A3B8;
    font-weight: 500;
}
.fg-search-caret {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #143326;
    margin-left: 2px;
    vertical-align: middle;
    opacity: 0;
}
.fg-search-caret.is-active {
    opacity: 1;
    animation: fgSearchCaretBlink 0.9s infinite;
}
@keyframes fgSearchCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.fg-search-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(20, 51, 38, 0.18);
    border-top-color: #10B981;
    border-radius: 50%;
    margin-left: 6px;
    animation: fgSearchSpinnerRotate 0.6s linear infinite;
}
.fg-search-spinner.is-visible {
    display: inline-block;
}
@keyframes fgSearchSpinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.fg-mock-search-count {
    font-size: 13px;
    color: #64748B;
    font-weight: 600;
}
.fg-mock-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1.5px solid #EAE3D2;
    background: #FAF8F5;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.fg-mock-result-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.fg-mock-result-featured {
    background: #FFFFFF;
    border: 2px solid #E08734;
    box-shadow: 0 6px 18px rgba(224, 135, 52, 0.12);
}
.fg-mock-result-featured.is-hovered {
    border-color: #D97706;
    box-shadow: 0 12px 28px rgba(224, 135, 52, 0.22);
    transform: translateY(-2px);
}
.fg-mock-badge-featured.has-pulsed {
    animation: fgBadgePulse 0.42s cubic-bezier(0.25, 1, 0.5, 1) 1;
}
@keyframes fgBadgePulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.08); filter: brightness(1.08); }
    100% { transform: scale(1); filter: brightness(1); }
}
.fg-mock-btn-profile {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.2s ease;
}
.fg-mock-btn-profile.is-hovered {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
    background: #143326 !important;
}
.fg-mock-btn-profile.is-hovered .fg-profile-btn-arrow {
    transform: translateX(3px);
}
.fg-profile-btn-arrow {
    display: inline-block;
    transition: transform 0.22s ease;
}

@media (max-width: 768px) {
    .fg-search-mockup-frame {
        padding: 18px 16px;
    }
    .fg-search-cursor {
        display: none !important;
    }
    .fg-mock-search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .fg-mock-result-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .fg-mock-btn-profile {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fg-search-cursor {
        display: none !important;
    }
    .fg-mock-result-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .fg-mock-result-featured {
        transform: none !important;
        box-shadow: 0 6px 18px rgba(224, 135, 52, 0.12) !important;
    }
    .fg-mock-badge-featured {
        transform: none !important;
        animation: none !important;
    }
    .fg-mock-btn-profile {
        transform: none !important;
    }
    .fg-profile-btn-arrow {
        transform: none !important;
    }
    .fg-search-caret {
        display: none !important;
        animation: none !important;
    }
    .fg-search-spinner {
        display: none !important;
        animation: none !important;
    }
}

/* Availability Toggle Spotlight */
.fg-availability-spotlight {
    padding: 85px 0;
    background: #FDFCFA;
    border-bottom: 1px solid #EAE3D2;
}

/* Funnel Steps */
.fg-funnel-section {
    padding: 90px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #EAE3D2;
}
.fg-funnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 45px 0;
}
.fg-step-card {
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 18px;
    padding: 30px 24px;
    position: relative;
}
.fg-step-number {
    font-size: 14px;
    font-weight: 800;
    color: #1B4332;
    background: #E8EFE9;
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

/* Pricing Section */
.fg-pricing-section {
    padding: 95px 0;
    background: #FAF8F5;
    border-bottom: 1px solid #EAE3D2;
}
.fg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 920px;
    margin: 45px auto 0;
    align-items: stretch;
}
.fg-plan-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1.5px solid #EAE3D2;
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    position: relative;
    overflow: visible; /* Fix Most Popular badge clipping bug */
}
.fg-plan-premium {
    border: 2.5px solid #1B4332;
    box-shadow: 0 20px 45px rgba(27, 67, 50, 0.12);
}
.fg-plan-badge {
    position: absolute;
    top: -15px;
    right: 28px;
    background: #1B4332;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
}
.fg-plan-badge-founding {
    background: linear-gradient(135deg, #E08734 0%, #D97706 100%);
}

/* FAQ */
.fg-faq-section {
    padding: 85px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #EAE3D2;
}
.fg-faq-accordion {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fg-faq-item {
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    background: #FAF8F5;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.fg-faq-item[open] {
    border-color: #1B4332;
    background: #FFFFFF;
}
.fg-faq-summary {
    padding: 18px 22px;
    font-weight: 750;
    font-size: 16px;
    color: #143326;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fg-faq-content {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #4A5568;
    line-height: 1.65;
}

/* Final CTA */
.fg-final-cta-section {
    background: var(--color-forest-950, #0D1F17);
    color: #FFFFFF;
    padding: 95px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fg-final-cta-section h2 {
    color: #FFFFFF !important;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .fg-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .fg-hero-headline {
        font-size: 34px;
    }
    .fg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fg-example-card {
        position: static;
        margin-top: 16px;
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 600px) {
    .fg-mock-result-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .fg-mock-result-card > span:last-child {
        text-align: center;
        display: block;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .fg-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .fg-plan-card {
        padding: 30px 20px;
    }
    .fg-mockup-body {
        padding: 18px 14px;
    }
}

/* ==========================================================================
   Redesigned /search Top Search Controls & Quick Refinement
   ========================================================================== */
.search-header-container {
    background: #F6F2EB;
    border-bottom: 1px solid #EAE3D2;
    padding: 22px 0 20px;
}

.search-refinement-form {
    margin-bottom: 0;
}

.search-refinement-bar {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 18px;
    padding: 10px 14px 10px 18px;
    box-shadow: 0 6px 20px rgba(20, 51, 38, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: minmax(280px, 1.25fr) 1px minmax(240px, 1.05fr) auto;
    gap: 14px;
    align-items: center;
    max-width: 980px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-refinement-bar:focus-within {
    border-color: #1B4332;
    box-shadow: 0 10px 28px rgba(20, 51, 38, 0.08), 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.srb-col {
    padding: 4px 8px;
    border-radius: 10px;
    transition: background 0.15s ease;
    position: relative;
    min-width: 0;
}

.srb-col:hover,
.srb-col:focus-within {
    background: #FAF8F5;
}

.srb-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1B4332;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.srb-icon {
    font-size: 12px;
}

.srb-input-wrap {
    width: 100%;
}

.srb-input {
    width: 100%;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #143326;
    padding: 0;
    outline: none;
    font-family: inherit;
}

.srb-input::placeholder {
    color: #94A3B8;
    font-weight: 500;
    font-size: 14.5px;
}

.srb-location-sub {
    min-height: 18px;
    display: flex;
    align-items: center;
    margin-top: 2px;
    flex-wrap: wrap;
    gap: 6px;
}

.srb-geo-btn {
    background: none;
    border: none;
    color: #1B4332;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}

.srb-geo-btn:hover {
    color: #2D6A4F;
    text-decoration: underline;
}

.srb-geo-btn:focus-visible {
    outline: 2px solid #2D6A4F;
    outline-offset: 2px;
    border-radius: 4px;
}

.srb-geo-status {
    font-size: 11.5px;
    font-weight: 600;
    color: #B91C1C;
    white-space: nowrap;
}

.srb-divider {
    width: 1px;
    height: 48px;
    background: #EAE3D2;
    align-self: center;
}

.srb-select-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.srb-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #143326;
    padding: 0 24px 0 0;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

.srb-select:focus-visible {
    outline: none;
}

.srb-select-arrow {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #2D6A4F;
    display: flex;
    align-items: center;
}

.srb-sub-hint {
    min-height: 18px;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.srb-sub-hint span {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
    white-space: nowrap;
}

.srb-col-submit {
    align-self: center;
}

.srb-submit-btn {
    background: #1B4332;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    height: 48px;
    padding: 0 22px;
    font-size: 14.5px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.2);
    white-space: nowrap;
    font-family: inherit;
}

.srb-submit-btn:hover {
    background: #143326;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.28);
}

.srb-submit-btn:hover .srb-btn-arrow {
    transform: translateX(3px);
}

.srb-submit-btn:focus-visible {
    outline: 3px solid #2D6A4F;
    outline-offset: 2px;
}

.srb-btn-arrow {
    transition: transform 0.2s ease;
}

/* Quick Filter Pills */
.search-quick-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    max-width: 980px;
}

.search-quick-label {
    font-size: 13px;
    font-weight: 750;
    color: #4A5568;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-quick-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px 4px;
}

.search-quick-pills::-webkit-scrollbar {
    display: none;
}

.sq-pill {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sq-pill:hover {
    border-color: #CBD5E1;
    background: #FAF8F5;
    color: #1E293B;
}

.sq-pill:focus-visible {
    outline: 2px solid #2D6A4F;
    outline-offset: 2px;
}

.sq-pill-active {
    background: #E8F5E9;
    border-color: #2D6A4F;
    color: #143326;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.14);
}

.sq-pill-active:hover {
    background: #DCEDDD;
    border-color: #1B4332;
    color: #0D1F17;
}

/* Search Summary & Sort Row */
.search-results-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    max-width: 980px;
}

.search-page-title {
    font-size: 24px;
    color: #143326;
    font-weight: 850;
    letter-spacing: -0.025em;
    margin-bottom: 2px;
}

.search-page-count {
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
}

.search-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-sort-label {
    font-size: 13px;
    font-weight: 700;
    color: #4A5568;
}

.search-sort-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.search-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 38px;
    width: 175px;
    padding: 0 26px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #143326;
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.search-sort-select:hover {
    border-color: #CBD5E1;
}

.search-sort-select:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.search-sort-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #2D6A4F;
    display: flex;
    align-items: center;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
    .search-refinement-bar {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
        padding: 14px 16px;
        gap: 12px;
    }
    .srb-col-submit {
        grid-column: 1 / -1;
        width: 100%;
    }
    .srb-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .search-header-container {
        padding: 16px 0;
    }
    .search-refinement-bar {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 12px;
    }
    .srb-divider {
        display: none;
    }
    .srb-col {
        padding: 8px 10px;
        background: #FAF8F5;
        border: 1px solid #EAE3D2;
        border-radius: 12px;
    }
    .srb-sub-hint {
        display: none;
    }
    .srb-col-submit {
        grid-column: auto;
    }
    .srb-submit-btn {
        width: 100%;
        justify-content: center;
        height: 48px;
    }
    .search-quick-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .search-quick-pills {
        width: 100%;
    }
    .search-page-title {
        font-size: 20px;
    }
    .search-results-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .search-sort-form {
        width: 100%;
        justify-content: space-between;
    }
    .search-sort-select-wrap,
    .search-sort-select {
        flex: 1;
        width: 100%;
    }
}

/* Results Grid & Responsive Sidebar */
.search-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .search-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .search-filters-sidebar {
        position: static !important;
    }
}

/* Active Filter Chips */
.search-active-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 4px;
}

.active-chips-label {
    font-size: 12.5px;
    font-weight: 750;
    color: #64748B;
    white-space: nowrap;
}

.active-chips-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.active-chip-pill {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 12.5px;
    font-weight: 650;
    color: #143326;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.active-chip-pill:hover {
    background: #FFF5F2;
    border-color: #CF5537;
    color: #CF5537;
}

.chip-close-btn {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #94A3B8;
    transition: color 0.15s ease;
}

.active-chip-pill:hover .chip-close-btn {
    color: #CF5537;
}

.chip-clear-all {
    font-size: 12.5px;
    font-weight: 700;
    color: #CF5537;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.chip-clear-all:hover {
    color: #A83319;
}

/* Intelligent Zero-Result State */
.search-zero-state {
    padding: 48px 24px;
    text-align: center;
    max-width: 680px;
    margin: 16px auto;
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.zero-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.zero-state-title {
    font-size: 22px;
    font-weight: 850;
    color: #143326;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.zero-state-desc {
    font-size: 14.5px;
    color: #64748B;
    max-width: 460px;
    margin: 0 auto 24px;
    line-height: 1.55;
}

.zero-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* SEO City Directory Hub Banner */
.search-city-hub-banner {
    background: linear-gradient(135deg, #FAF8F5 0%, #F5EFE6 100%);
    border: 1.5px solid #EAE3D2;
    border-radius: 18px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(20, 51, 38, 0.04);
}

.hub-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 260px;
}

.hub-banner-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.hub-banner-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #143326;
    margin-bottom: 3px;
}

.hub-banner-desc {
    font-size: 13.5px;
    color: #4A5568;
    margin: 0;
    line-height: 1.45;
}

.hub-banner-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Nearby Areas Discovery Grid */
.search-nearby-areas {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 18px;
    padding: 22px 26px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.nearby-areas-heading {
    font-size: 16.5px;
    font-weight: 800;
    color: #143326;
    margin-bottom: 4px;
}

.nearby-areas-sub {
    font-size: 13.5px;
    color: #64748B;
    margin-bottom: 14px;
}

.nearby-areas-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nearby-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 650;
    color: #143326;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nearby-city-pill:hover {
    background: #E8F5E9;
    border-color: #2D6A4F;
    color: #1B4332;
    transform: translateY(-1px);
}

.nearby-city-dist {
    font-size: 11px;
    font-weight: 750;
    color: #2D6A4F;
    background: #FFFFFF;
    border-radius: 9999px;
    padding: 1px 7px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Search Pagination */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
}

.page-numbers {
    display: flex;
    gap: 6px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #143326;
    text-decoration: none;
    border: 1.5px solid #EAE3D2;
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.page-link:hover {
    background: #FAF8F5;
    border-color: #CBD5E1;
}

.page-link-active {
    background: #1B4332;
    color: #FFFFFF;
    border-color: #1B4332;
}

/* Mobile Filter Bar & Drawer */
.mobile-filter-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-filter-bar {
        display: block;
        margin-top: 12px;
    }

    .mobile-filter-trigger-btn {
        width: 100%;
        height: 44px;
        border: 1.5px solid #EAE3D2;
        background: #FFFFFF;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 750;
        color: #143326;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
        transition: all 0.15s ease;
    }

    .mobile-filter-trigger-btn:hover {
        background: #FAF8F5;
        border-color: #CBD5E1;
    }

    .mobile-filter-badge {
        background: #1B4332;
        color: #FFFFFF;
        font-size: 11px;
        font-weight: 800;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 9999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .search-filters-sidebar {
        display: none !important;
    }
}

.mobile-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 360px;
    background: #FFFFFF;
    z-index: 9999;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

.mobile-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #64748B;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mobile-drawer-close:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.mobile-drawer-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 10px;
    background: #FAF8F5;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(20, 51, 38, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    overflow: hidden;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.12s ease;
    border-bottom: 1px solid #FAF8F5;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item-active {
    background: #F3EFE6 !important;
}

.autocomplete-item-active strong {
    color: #1B4332 !important;
}

/* ==========================================================================
   Add Business Onboarding - 3-Step Experience & Live Profile Preview
   ========================================================================== */

.biz-onboard-page {
    background: #FAF8F5;
    min-height: 80vh;
    padding-bottom: 90px;
}

.biz-claim-callout {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4A5568;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.biz-claim-callout a {
    color: #1B4332;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.biz-claim-callout a:hover {
    color: #2D5A43;
}

/* Stepper Bar */
.biz-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 680px;
    margin: 0 auto 36px;
    position: relative;
    padding: 0 16px;
}

.biz-step-node {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    background: #FAF8F5;
    padding: 4px 10px;
    cursor: default;
}

.biz-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #E2E8F0;
    color: #64748B;
    transition: all 0.2s ease;
}

.biz-step-node.active .biz-step-num {
    background: #1B4332;
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.16);
}

.biz-step-node.completed .biz-step-num {
    background: #E8EFE9;
    color: #1B4332;
    border: 1.5px solid #1B4332;
}

.biz-step-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    transition: color 0.2s ease;
}

.biz-step-node.active .biz-step-label {
    color: #143326;
    font-weight: 700;
}

.biz-step-node.completed .biz-step-label {
    color: #1B4332;
}

.biz-step-line {
    flex: 1;
    height: 2px;
    background: #E2E8F0;
    margin: 0 6px;
    transition: background 0.2s ease;
}

.biz-step-line.filled {
    background: #1B4332;
}

/* Layout Grid: 65% Form / 35% Live Preview */
.biz-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 1024px) {
    .biz-layout-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    }
}

/* Form Card */
.biz-form-card {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.05);
}

@media (max-width: 768px) {
    .biz-form-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

.biz-step-header {
    margin-bottom: 24px;
}

.biz-step-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: #143326;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.biz-step-desc {
    font-size: 15px;
    color: #64748B;
    line-height: 1.5;
}

/* Modern Form Controls */
.biz-group {
    margin-bottom: 22px;
}

.biz-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #143326;
    margin-bottom: 8px;
}

.biz-label .biz-req {
    color: #DC2626;
    font-weight: 800;
    margin-left: 2px;
}

/* ==========================================================================
   GLOBAL FORM CONTROL DESIGN SYSTEM
   Standardized, high-accessibility input controls across Groomer.org
   Used on: /login, /forgot-password, /reset-password, /add-business,
   /claim, /contact, and Account/Dashboard pages.
   ========================================================================== */

.form-group,
.biz-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-label,
.biz-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 7px;
    line-height: 1.3;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 7px;
}

.form-label-row .form-label {
    margin-bottom: 0;
}

.form-label-link {
    font-size: 13px;
    color: #2D6A4F;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.form-label-link:hover {
    color: #1B4332;
    text-decoration: underline;
}

.form-req,
.biz-req {
    color: #DC2626;
    font-weight: 700;
}

/* Base input, select and textarea controls */
.form-control,
.biz-input,
.biz-select {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    font-size: 15px;
    color: #1E293B;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.form-control::placeholder,
.biz-input::placeholder {
    color: #94A3B8;
}

.form-control:focus,
.biz-input:focus,
.biz-select:focus,
.form-select:focus,
.form-textarea:focus,
.biz-textarea:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 3.5px rgba(27, 67, 50, 0.12);
    background-color: #FFFFFF;
}

.form-control.is-invalid,
.biz-input.is-invalid,
.biz-select.is-invalid,
.biz-textarea.is-invalid {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

/* Custom Select Dropdowns */
.form-select,
.biz-select,
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

/* Multi-line Textareas */
.form-textarea,
.biz-textarea,
textarea.form-control {
    width: 100%;
    min-height: 140px;
    padding: 14px 16px;
    font-size: 15px;
    color: #1E293B;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    outline: none;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
}

.form-helper,
.biz-helper {
    font-size: 12.5px;
    color: #64748B;
    margin-top: 6px;
    line-height: 1.4;
}

.form-error,
.biz-field-error {
    font-size: 12.5px;
    color: #DC2626;
    margin-top: 5px;
    display: none;
    font-weight: 600;
}

.form-error.is-visible {
    display: block;
}

/* Input Icon / Affix Groups */
.input-affix-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-prefix-icon {
    position: absolute;
    left: 16px;
    color: #94A3B8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    z-index: 2;
    transition: color 0.15s ease;
}

.input-affix-wrap:focus-within .input-prefix-icon {
    color: #1B4332;
}

.input-has-prefix {
    padding-left: 46px !important;
}

.input-has-suffix {
    padding-right: 48px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px 10px;
    color: #64748B;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: #1B4332;
    background-color: #F1F5F9;
}

.password-toggle-btn:focus-visible {
    outline: 2px solid #1B4332;
    outline-offset: 2px;
}

/* ==========================================================================
   AUTHENTICATION UI SYSTEM (/login, /forgot-password, /reset-password)
   ========================================================================== */

.auth-page {
    background-color: #FAF6EF;
    min-height: calc(100vh - 240px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 80px;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(27, 67, 50, 0.06);
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8EFE9;
    color: #1B4332;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    color: #143326;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.auth-subtitle {
    font-size: 14.5px;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

/* Inline Auth Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 22px;
    animation: fadeIn 0.2s ease;
}

.auth-alert-error {
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    color: #991B1B;
}

.auth-alert-success {
    background: #ECFDF5;
    border: 1.5px solid #A7F3D0;
    color: #065F46;
}

.auth-alert-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Auth Primary CTA */
.auth-btn-submit {
    width: 100%;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    background: #1B4332;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.18);
    margin-top: 6px;
    font-family: inherit;
}

.auth-btn-submit:hover {
    background: #2D5A43;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.26);
}

.auth-btn-submit:active {
    transform: translateY(0);
}

.auth-btn-submit:focus-visible {
    outline: 3px solid rgba(27, 67, 50, 0.35);
    outline-offset: 2px;
}

.auth-btn-submit[disabled],
.auth-btn-submit.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0 22px;
    color: #94A3B8;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid #E2E8F0;
}

.auth-divider::before {
    margin-right: 14px;
}

.auth-divider::after {
    margin-left: 14px;
}

/* Dual Onboarding / Claim Box */
.auth-alt-box {
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-alt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EAE3D2;
}

.auth-alt-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.auth-alt-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-alt-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
}

.auth-alt-sub {
    font-size: 12px;
    color: #64748B;
    line-height: 1.35;
}

.auth-alt-link {
    color: #1B4332;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    transition: all 0.15s ease;
}

.auth-alt-link:hover {
    background: #1B4332;
    color: #FFFFFF;
    border-color: #1B4332;
    text-decoration: none;
}

/* Password Requirements Indicator */
.auth-req-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
}

.auth-req-item {
    font-size: 12.5px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.auth-req-item.is-valid {
    color: #059669;
    font-weight: 600;
}

.auth-req-check {
    font-size: 13px;
    display: inline-block;
}

/* Auth Responsive Adjustments */
@media (max-width: 600px) {
    .auth-page {
        padding: 24px 16px 60px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 13.5px;
    }

    .auth-alt-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .auth-alt-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Multi-Column Grid */
.biz-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.biz-grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) {
    .biz-grid-2,
    .biz-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Selectable Cards (Format & Pets) */
.biz-card-choice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    position: relative;
}

.biz-card-choice:hover {
    border-color: #CBD5E1;
    background: #FAF8F5;
}

.biz-card-choice.selected {
    border-color: #1B4332;
    background: #F4F7F5;
    box-shadow: 0 0 0 1px #1B4332;
}

.biz-card-choice input[type="checkbox"],
.biz-card-choice input[type="radio"] {
    display: none;
}

.biz-card-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.biz-card-content {
    flex: 1;
}

.biz-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 2px;
}

.biz-card-sub {
    font-size: 12.5px;
    color: #64748B;
}

.biz-card-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.biz-card-choice.selected .biz-card-check {
    background: #1B4332;
    border-color: #1B4332;
    color: #FFFFFF;
}

.biz-card-check svg {
    display: none;
}

.biz-card-choice.selected .biz-card-check svg {
    display: block;
}

/* Service & Specialty Multi-Select Pills */
.biz-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.biz-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.12s ease;
    user-select: none;
}

.biz-pill-btn:hover {
    border-color: #CBD5E1;
    background: #FAF8F5;
}

.biz-pill-btn.selected {
    border-color: #1B4332;
    background: #E8EFE9;
    color: #1B4332;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(27, 67, 50, 0.08);
}

.biz-pill-btn input {
    display: none;
}

/* Availability Radio Selector */
.biz-avail-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .biz-avail-options {
        grid-template-columns: 1fr;
    }
}

.biz-avail-card {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    background: #FFFFFF;
    transition: all 0.15s ease;
    user-select: none;
}

.biz-avail-card:hover {
    border-color: #CBD5E1;
    background: #FAF8F5;
}

.biz-avail-card.selected {
    border-color: #1B4332;
    background: #E8EFE9;
}

.biz-avail-card input {
    display: none;
}

.biz-avail-card .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.biz-avail-card.yes .status-dot { background: #10B981; }
.biz-avail-card.waitlist .status-dot { background: #F59E0B; }
.biz-avail-card.no .status-dot { background: #94A3B8; }

.biz-avail-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
}

.biz-avail-card.selected .biz-avail-card-title {
    color: #1B4332;
}

/* Password Input Wrapper */
.biz-pw-wrap {
    position: relative;
}

.biz-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 6px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-pw-reqs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12.5px;
    color: #64748B;
}

.biz-pw-reqs.valid {
    color: #059669;
    font-weight: 600;
}

/* Stepper Navigation Buttons */
.biz-btn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #EAE3D2;
}

.biz-btn-back {
    background: transparent;
    border: 1.5px solid #CBD5E1;
    color: #4A5568;
    font-weight: 600;
    font-size: 15px;
    height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.biz-btn-back:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.biz-btn-next,
.biz-btn-submit {
    background: #1B4332;
    border: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    height: 52px;
    padding: 0 32px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.2);
}

.biz-btn-next:hover,
.biz-btn-submit:hover {
    background: #2D5A43;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.28);
}

@media (max-width: 600px) {
    .biz-btn-row {
        flex-direction: column-reverse;
    }
    .biz-btn-back,
    .biz-btn-next,
    .biz-btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Duplicate Business Alert */
.biz-duplicate-alert {
    background: #FFFBEB;
    border: 1.5px solid #FCD34D;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 14px;
    display: none;
    animation: fadeIn 0.2s ease;
}

.biz-duplicate-alert.show {
    display: block;
}

.biz-dup-header {
    font-size: 13.5px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.biz-dup-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #FDE68A;
    margin-bottom: 10px;
}

.biz-dup-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.biz-dup-details {
    flex: 1;
    min-width: 0;
}

.biz-dup-name {
    font-weight: 700;
    font-size: 14px;
    color: #1E293B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.biz-dup-loc {
    font-size: 12px;
    color: #64748B;
}

.biz-dup-claim-btn {
    background: #1B4332;
    color: #FFFFFF !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease;
}

.biz-dup-claim-btn:hover {
    background: #2D5A43;
}

.biz-dup-dismiss {
    font-size: 12.5px;
    color: #78350F;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* Sticky Live Profile Preview (Desktop) */
.biz-preview-sticky {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.biz-preview-sticky::-webkit-scrollbar {
    width: 6px;
}
.biz-preview-sticky::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.biz-completeness-box {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(20, 51, 38, 0.04);
}

.biz-completeness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #143326;
}

.biz-completeness-pct {
    font-size: 13px;
    font-weight: 800;
    color: #047857;
    background: #E8EFE9;
    padding: 2px 8px;
    border-radius: 12px;
}

.biz-completeness-bar {
    height: 8px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
    margin: 8px 0 6px;
}

.biz-completeness-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #10B981, #047857);
    border-radius: 9999px;
    transition: width 0.35s ease;
}

.biz-completeness-tip {
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.35;
}

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

.biz-preview-badge {
    background: #E8EFE9;
    color: #1B4332;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 9999px;
}

.biz-preview-card {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 51, 38, 0.07);
    transition: transform 0.2s ease;
}

.biz-preview-img-wrap {
    height: 175px;
    position: relative;
    overflow: hidden;
}

.biz-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide placeholder when custom business image is present */
.biz-preview-img-wrap.has-photo .biz-preview-placeholder-hero,
.biz-preview-img-wrap:has(img.biz-preview-img[src]:not([src=""])) .biz-preview-placeholder-hero {
    display: none;
}

.biz-preview-placeholder-hero {
    height: 100%;
    background: linear-gradient(135deg, #1B4332 0%, #24523E 60%, #2D5A46 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 16px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Bubbles Container & Glassy Bath Bubbles */
.biz-placeholder-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.biz-bubble {
    position: absolute;
    bottom: -25px;
    left: var(--b-left, 50%);
    width: var(--b-size, 16px);
    height: var(--b-size, 16px);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.45) 0%, rgba(167, 243, 208, 0.18) 45%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.55), inset -1px -1px 2px rgba(52, 211, 153, 0.2), 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: bizBubbleRise var(--b-dur, 10s) cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: var(--b-delay, 0s);
    opacity: 0;
    will-change: transform, opacity;
}

.biz-bubble::after {
    content: '';
    position: absolute;
    top: 18%;
    left: 22%;
    width: 26%;
    height: 26%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    filter: blur(0.2px);
}

@keyframes bizBubbleRise {
    0% {
        transform: translateY(25px) translateX(0) scale(0.85);
        opacity: 0;
    }
    12% {
        opacity: 0.75;
    }
    82% {
        opacity: 0.65;
    }
    100% {
        transform: translateY(-210px) translateX(var(--b-drift, 8px)) scale(1.06);
        opacity: 0;
    }
}

/* Content: Paws & Text Layering */
.biz-placeholder-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    pointer-events: none;
}

.biz-placeholder-paws {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 7px;
    z-index: 2;
    height: 32px;
}

.biz-paw-svg {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    fill: currentColor;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.biz-paw-left {
    transform: rotate(-12deg);
    animation: bizPawStepLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.biz-paw-right {
    transform: rotate(14deg) translateY(-3px);
    animation: bizPawStepRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards;
    opacity: 0;
}

@keyframes bizPawStepLeft {
    0% {
        opacity: 0;
        transform: rotate(-12deg) scale(0.88);
    }
    100% {
        opacity: 0.92;
        transform: rotate(-12deg) scale(1);
    }
}

@keyframes bizPawStepRight {
    0% {
        opacity: 0;
        transform: rotate(14deg) translateY(-3px) scale(0.88);
    }
    100% {
        opacity: 0.92;
        transform: rotate(14deg) translateY(-3px) scale(1);
    }
}

/* Fallback for legacy class */
.biz-placeholder-paw {
    font-size: 30px;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.biz-placeholder-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.01em;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.biz-placeholder-sub {
    font-size: 11.5px;
    color: #D0DFD3;
    max-width: 250px;
    line-height: 1.35;
    margin-top: 3px;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.biz-preview-avail-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(20, 51, 38, 0.9);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .biz-bubble {
        animation: none !important;
        opacity: 0.45 !important;
        transform: translateY(-50px) translateX(0) scale(1) !important;
    }
    .biz-paw-left,
    .biz-paw-right {
        animation: none !important;
        opacity: 0.92 !important;
    }
    .biz-paw-left {
        transform: rotate(-12deg) !important;
    }
    .biz-paw-right {
        transform: rotate(14deg) translateY(-3px) !important;
    }
}

.biz-preview-avail-tag .avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.biz-preview-body {
    padding: 20px;
}

.biz-preview-name {
    font-size: 19px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.biz-preview-loc {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.biz-preview-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.biz-preview-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1B4332;
    background: #E8EFE9;
    padding: 5px 11px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #D0DFD3;
}

.biz-preview-bio {
    font-size: 12.5px;
    line-height: 1.5;
    color: #475569;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.biz-preview-bio.empty {
    font-style: italic;
    color: #94A3B8;
}

.biz-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.biz-preview-tag {
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    color: #4A5568;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.biz-preview-tag.pet {
    background: #E8EFE9;
    border-color: #D0DFD3;
    color: #1B4332;
    font-weight: 700;
}

.biz-preview-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #1B4332;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 0;
    border-radius: 10px;
    text-decoration: none;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(27,67,50,0.15);
}

/* Post-Submission Success Experience */
.biz-success-wrap {
    max-width: 820px;
    margin: 40px auto 80px;
    text-align: center;
}

.biz-success-celebrate {
    font-size: 48px;
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

.biz-success-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: #143326;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.biz-success-subtitle {
    font-size: 17px;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.biz-success-preview {
    max-width: 440px;
    margin: 0 auto 40px;
    text-align: left;
}

.biz-success-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    margin-top: 36px;
}

@media (max-width: 768px) {
    .biz-success-actions {
        grid-template-columns: 1fr;
    }
}

.biz-action-card {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.04);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.biz-action-card:hover {
    border-color: #1B4332;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.08);
}

.biz-action-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #143326;
    margin-bottom: 6px;
}

.biz-action-card-desc {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 18px;
}

.biz-action-card-link {
    font-size: 14px;
    font-weight: 700;
    color: #1B4332;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.biz-action-card-link:hover {
    color: #2D5A43;
    text-decoration: underline;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-slide,
    .before-slide,
    .freshly-groomed-chip,
    .carousel-dot,
    .hero-nav-arrow {
        transition: none !important;
    }
    .hero-bandana-motif.is-swaying .bandana-crest,
    .ambient-bubble,
    .bandana-sparkle,
    .chip-sparkle,
    .title-sparkle {
        animation: none !important;
    }
    .showcase-bubble {
        animation: none !important;
        opacity: 0.10 !important;
        transform: none !important;
    }
    .showcase-bubble:nth-child(n+5) {
        display: none !important;
    }
    .hero-underline-path {
        stroke-dashoffset: 0 !important;
        animation: none !important;
    }
}

/* ==============================================================================
   GROOMING GUIDES HUB & EDITORIAL ARTICLE SYSTEM
   ============================================================================== */

/* Hub Hero */
.guides-hero {
    background: linear-gradient(180deg, #FBF8F3 0%, #F5F0E6 100%);
    border-bottom: 1px solid #EAE3D2;
    padding: 56px 0 48px;
    text-align: center;
}

.guides-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8EFE9;
    color: #1B4332;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.guides-hero-title {
    font-size: clamp(34px, 4.5vw, 48px);
    color: #143326;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.guides-hero-highlight {
    position: relative;
    display: inline-block;
    color: #143326;
}

.guides-hero-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.guides-hero-lead {
    font-size: clamp(17px, 2vw, 20px);
    color: #1B4332;
    font-weight: 600;
    max-width: 680px;
    margin: 0 auto 12px;
    line-height: 1.45;
}

.guides-hero-sub {
    font-size: 15px;
    color: #5A6A75;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Guide Card */
.guide-featured-section {
    padding: 48px 0 20px;
}

.guide-featured-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px -10px rgba(20,51,38,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px -8px rgba(20,51,38,0.12);
}

.guide-featured-img-wrap {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #E8EFE9;
}

.guide-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.guide-featured-card:hover .guide-featured-img {
    transform: scale(1.03);
}

.guide-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guide-featured-eyebrow {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E07A5F;
    margin-bottom: 10px;
}

.guide-featured-title {
    font-size: clamp(22px, 2.5vw, 30px);
    color: #143326;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}

.guide-featured-title a {
    color: inherit;
    text-decoration: none;
}

.guide-featured-title a:hover {
    color: #2D6A4F;
}

.guide-featured-excerpt {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.65;
    margin-bottom: 24px;
}

.guide-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 24px;
}

.guide-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 12px;
}

/* Categories Grid */
.guide-categories-section {
    padding: 40px 0 20px;
}

.section-editorial-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}

.section-editorial-title {
    font-size: clamp(24px, 3vw, 32px);
    color: #143326;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-editorial-sub {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

.guide-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-cat-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(20,51,38,0.03);
}

.guide-cat-card:hover {
    border-color: #2D6A4F;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(20,51,38,0.08);
}

.guide-cat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.guide-cat-card:hover .guide-cat-icon-wrap {
    background: #E8EFE9;
    border-color: #A3C9B8;
}

.guide-cat-name {
    font-size: 17px;
    font-weight: 700;
    color: #143326;
    margin-bottom: 6px;
}

.guide-cat-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
    flex-grow: 1;
}

.guide-cat-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1B4332;
    margin-top: 14px;
}

/* Articles Grid */
.guide-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.guide-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(20,51,38,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(20,51,38,0.09);
}

.guide-card-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #E8EFE9;
}

.guide-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-card-img {
    transform: scale(1.04);
}

.guide-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.guide-category-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #E07A5F;
    letter-spacing: 0.05em;
}

.guide-read-time {
    font-size: 12px;
    color: #94A3B8;
}

.guide-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #143326;
    line-height: 1.35;
    margin-bottom: 10px;
}

.guide-card-title a {
    color: inherit;
    text-decoration: none;
}

.guide-card-title a:hover {
    color: #2D6A4F;
}

.guide-card-excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.guide-card-footer {
    padding: 0 24px 24px;
}

/* Breed Grooming Directory */
.breed-directory-section {
    background: #FAF8F5;
    border-top: 1px solid #EAE3D2;
    border-bottom: 1px solid #EAE3D2;
    padding: 60px 0 72px;
    margin-top: 60px;
}

.breed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.breed-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(20,51,38,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.breed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(20,51,38,0.09);
}

.breed-card-thumb-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.breed-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.breed-card:hover .breed-card-thumb {
    transform: scale(1.04);
}

.breed-badge-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.breed-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.breed-card-name {
    font-size: 18px;
    font-weight: 800;
    color: #143326;
    margin-bottom: 4px;
}

.breed-card-schedule {
    font-size: 13px;
    font-weight: 600;
    color: #2D6A4F;
    margin-bottom: 10px;
}

.breed-card-summary {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.breed-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
    font-size: 12px;
}

.breed-disclaimer-note {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 13px;
    color: #718096;
    line-height: 1.6;
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
    padding: 14px 20px;
}

/* Hub Directory CTA */
.guides-directory-banner {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    border-radius: 20px;
    padding: 48px 36px;
    margin: 64px 0 20px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    box-shadow: 0 16px 36px -10px rgba(27,67,50,0.25);
}

.guides-directory-text h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.guides-directory-text p {
    font-size: 15px;
    color: #D8F3DC;
    max-width: 500px;
    line-height: 1.5;
}

.guides-directory-search-box {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 420px;
}

.guides-search-input {
    flex-grow: 1;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    outline: none;
}

.guides-search-btn {
    height: 48px;
    padding: 0 20px;
    background: #E07A5F;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.guides-search-btn:hover {
    background: #C85A3D;
}

/* ==============================================================================
   INDIVIDUAL ARTICLE TEMPLATE
   ============================================================================== */

.article-page {
    background: #FFFFFF;
    padding-bottom: 96px;
}

.article-hero-wrap {
    background: #FAF8F5;
    border-bottom: 1px solid #EAE3D2;
    padding: 48px 0 40px;
}

.article-header-container {
    max-width: 760px;
    margin: 0 auto;
}

.article-breadcrumbs {
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748B;
}

.article-breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.article-breadcrumbs a {
    color: #64748B;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: #1B4332;
    text-decoration: underline;
}

.article-header-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E07A5F;
    margin-bottom: 10px;
}

.article-h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: #143326;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748B;
    padding-top: 14px;
    border-top: 1px solid #EAE3D2;
}

.article-hero-img-wrap {
    max-width: 900px;
    margin: 36px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px -8px rgba(20,51,38,0.1);
}

.article-hero-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Article Reading Body */
.article-reading-container {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 0 20px;
}

.article-body-content {
    font-size: 17px;
    line-height: 1.8;
    color: #2D3748;
}

.article-body-content p {
    margin-bottom: 22px;
}

.article-body-content p.lead {
    font-size: 20px;
    line-height: 1.65;
    color: #1A202C;
    font-weight: 500;
    margin-bottom: 28px;
    border-left: 4px solid #2D6A4F;
    padding-left: 20px;
}

.article-body-content h2 {
    font-size: clamp(22px, 2.5vw, 26px);
    color: #143326;
    font-weight: 800;
    margin-top: 44px;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.article-body-content h3 {
    font-size: 19px;
    color: #1B4332;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Veterinary Health Disclaimer Callout */
.vet-health-callout {
    background: #FFFBEB;
    border: 1.5px solid #FCD34D;
    border-left: 5px solid #D97706;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 36px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vet-callout-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vet-callout-title {
    font-size: 15px;
    font-weight: 800;
    color: #92400E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.vet-callout-text {
    font-size: 14px;
    color: #78350F;
    line-height: 1.6;
    margin: 0 !important;
}

/* Contextual Directory CTA inside Article */
.article-directory-cta {
    background: #F4F8F5;
    border: 2px solid #D8F3DC;
    border-radius: 16px;
    padding: 32px;
    margin: 44px 0;
    text-align: center;
}

.article-cta-badge {
    display: inline-block;
    background: #1B4332;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.article-cta-title {
    font-size: 22px;
    color: #143326;
    font-weight: 800;
    margin-bottom: 8px;
}

.article-cta-copy {
    font-size: 14px;
    color: #4A5568;
    max-width: 480px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.article-cta-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.article-cta-input {
    flex-grow: 1;
    min-width: 220px;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: #FFFFFF;
}

.article-cta-input:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 3px rgba(27,67,50,0.12);
}

.article-cta-btn {
    height: 48px;
    padding: 0 22px;
    background: #1B4332;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.article-cta-btn:hover {
    background: #2D6A4F;
    color: #FFFFFF;
}

/* Related Guides Grid */
.article-related-section {
    background: #FAF8F5;
    border-top: 1px solid #EAE3D2;
    padding: 60px 0;
    margin-top: 60px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .guide-featured-card {
        grid-template-columns: 1fr;
    }
    .guide-featured-img-wrap {
        height: 240px;
    }
    .guide-cats-grid,
    .guide-articles-grid,
    .breed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .guide-cats-grid,
    .guide-articles-grid,
    .breed-grid {
        grid-template-columns: 1fr;
    }
    .guides-hero {
        padding: 40px 0 32px;
    }
    .guide-featured-content {
        padding: 24px;
    }
    .guides-directory-banner {
        padding: 28px 20px;
    }
    .guides-directory-search-box {
        flex-direction: column;
    }
    .article-directory-cta {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   SERVICES ARCHITECTURE & TAXONOMY STYLES
   ========================================================================== */

/* 1. Onboarding Service Accordion & Cards */
.svc-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.svc-category-card {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-category-card:hover {
    border-color: #CBD5E1;
}

.svc-category-card.has-selected {
    border-color: #52B788;
    background: #FAFDFB;
}

.svc-category-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
    user-select: none;
}

.svc-category-header:hover {
    background: rgba(27, 67, 50, 0.02);
}

.svc-cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.svc-cat-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
}

.svc-cat-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #143326;
    letter-spacing: -0.01em;
}

.svc-cat-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-cat-count-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #E8EFE9;
    color: #1B4332;
    transition: all 0.2s ease;
}

.svc-cat-count-badge.empty {
    display: none;
}

.svc-cat-chevron {
    width: 20px;
    height: 20px;
    color: #64748B;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-category-card.is-open .svc-cat-chevron {
    transform: rotate(180deg);
}

.svc-category-body {
    display: none;
    padding: 4px 16px 16px;
    border-top: 1px solid #F1ECE1;
    background: #FFFFFF;
}

.svc-category-card.is-open .svc-category-body {
    display: block;
}

.svc-item-row {
    padding: 14px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.svc-item-row:hover {
    background: #FAF8F5;
}

.svc-item-row.is-active {
    background: #F4F9F5;
    border-color: #B7E4C7;
}

.svc-item-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

/* Custom Checkbox */
.svc-custom-checkbox {
    position: relative;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 1px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.svc-hidden-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.svc-hidden-checkbox:checked + .svc-custom-checkbox {
    background: #1B4332;
    border-color: #1B4332;
}

.svc-hidden-checkbox:focus-visible + .svc-custom-checkbox {
    outline: 2px solid #52B788;
    outline-offset: 2px;
}

.svc-check-svg {
    width: 12px;
    height: 12px;
    stroke: #FFFFFF;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.15s ease;
}

.svc-hidden-checkbox:checked + .svc-custom-checkbox .svc-check-svg {
    opacity: 1;
    transform: scale(1);
}

.svc-item-info {
    flex: 1;
}

.svc-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
}

.svc-item-desc {
    font-size: 12.5px;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.4;
}

/* Optional Pricing Row inside Onboarding */
.svc-pricing-fields {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #D8E2DC;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.svc-item-row.is-active .svc-pricing-fields {
    display: flex;
}

.svc-pricing-label {
    font-size: 12px;
    font-weight: 700;
    color: #4A5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.svc-price-type-select {
    padding: 7px 12px;
    border-radius: 8px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    font-size: 13px;
    color: #1E293B;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.svc-price-type-select:focus {
    border-color: #1B4332;
}

.svc-price-amount-wrap {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    padding: 0 10px;
    transition: border-color 0.15s ease;
}

.svc-price-amount-wrap:focus-within {
    border-color: #1B4332;
}

.svc-price-curr {
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
}

.svc-price-input {
    width: 68px;
    border: none;
    background: transparent;
    padding: 7px 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1B4332;
    outline: none;
}

.svc-price-hint {
    font-size: 11.5px;
    color: #718096;
    font-style: italic;
}

/* 2. Live Profile Preview Services Showcase */
.biz-preview-services-block {
    margin-top: 14px;
    padding: 12px 14px;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
}

.biz-preview-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.biz-preview-services-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1B4332;
}

.biz-preview-services-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.biz-preview-svc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(27, 67, 50, 0.08);
}

.biz-preview-svc-item:last-child {
    border-bottom: none;
}

.biz-preview-svc-name {
    font-weight: 600;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 6px;
}

.biz-preview-svc-price {
    font-weight: 800;
    color: #1B4332;
    font-size: 12px;
    background: #E8EFE9;
    padding: 2px 7px;
    border-radius: 6px;
}

.biz-preview-more-pill {
    margin-top: 6px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #52B788;
    background: rgba(82, 183, 136, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

/* 3. Public Groomer Profile: Dot Leaders Section */
.profile-services-category-block {
    margin-bottom: 24px;
}

.profile-services-category-block:last-child {
    margin-bottom: 0;
}

.profile-category-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #143326;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #E8EFE9;
}

.profile-service-dot-row {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    font-size: 14.5px;
}

.profile-service-dot-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.profile-service-dot-check {
    color: #52B788;
    font-weight: 800;
    font-size: 13px;
}

.profile-service-dot-name {
    font-weight: 700;
    color: #1E293B;
}

.profile-service-dot-leader {
    flex-grow: 1;
    margin: 0 10px;
    border-bottom: 2px dotted #D1D5DB;
    height: 1px;
}

.profile-service-dot-right {
    flex-shrink: 0;
}

.profile-service-dot-price {
    font-weight: 800;
    color: #1B4332;
    font-size: 14px;
}

/* 4. Custom Homepage Service Selector Dropdown */
.hero-custom-select-wrap {
    position: relative;
    width: 100%;
}

.hero-custom-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    outline: none;
    padding: 6px 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    text-align: left;
}

.hero-custom-select-btn:focus-visible {
    outline: 2px solid #1B4332;
    border-radius: 4px;
}

.hero-custom-select-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-custom-select-arrow {
    width: 16px;
    height: 16px;
    color: #64748B;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hero-custom-select-wrap.is-open .hero-custom-select-arrow {
    transform: rotate(180deg);
}

.hero-custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    max-width: 90vw;
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(20, 51, 38, 0.16);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
}

.hero-custom-select-wrap.is-open .hero-custom-select-menu {
    display: block;
}

.hero-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    transition: background 0.12s ease;
}

.hero-select-option:hover,
.hero-select-option.is-selected {
    background: #F4F9F5;
    color: #1B4332;
    font-weight: 700;
}

.hero-select-option .opt-icon {
    font-size: 17px;
    line-height: 1;
}

.hero-select-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    padding: 8px 14px 4px;
}

/* 5. Search Filters Services Accordion */
.search-filter-services-wrap {
    margin-top: 10px;
}

.search-svc-pill-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-svc-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    padding: 4px 0;
}

.search-svc-checkbox-label:hover {
    color: #1B4332;
}

.search-svc-expand-btn {
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    color: #52B788;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-svc-expand-btn:hover {
    text-decoration: underline;
    color: #1B4332;
}

/* 6. Admin Services Management Card */
.adm-services-table {
    width: 100%;
    border-collapse: collapse;
}

.adm-services-table th {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748B;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1.5px solid var(--adm-border);
}

.adm-services-table td {
    padding: 10px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13px;
    vertical-align: middle;
}

/* Mobile Responsiveness for Services */
@media (max-width: 640px) {
    .svc-category-header {
        padding: 14px 16px;
    }
    .svc-pricing-fields {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .svc-price-amount-wrap {
        width: 100%;
    }
    .svc-price-input {
        width: 100%;
    }
    .profile-service-dot-row {
        font-size: 13.5px;
    }
    .profile-service-dot-leader {
        margin: 0 6px;
    }
    .hero-custom-select-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   7. MoeGo-Inspired Native Groomer Booking Modal & Drawer
   ========================================================= */

.grm-booking-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.grm-booking-backdrop.is-open {
    opacity: 1;
}

.grm-booking-modal-box {
    background: #FFFFFF;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.grm-booking-backdrop.is-open .grm-booking-modal-box {
    transform: translateY(0) scale(1);
}

/* Header */
.grm-booking-header {
    padding: 18px 24px;
    border-bottom: 1px solid #F1ECE4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #FAF8F5;
}

.grm-booking-salon-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1B4332;
    margin-bottom: 4px;
}

.grm-salon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.grm-salon-mode-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 700;
    margin-left: 4px;
}

.grm-salon-mode-badge.instant {
    background: #D1FAE5;
    color: #065F46;
}

.grm-salon-mode-badge.request {
    background: #FEF3C7;
    color: #92400E;
}

.grm-booking-step-title {
    font-size: 20px;
    font-weight: 800;
    color: #143326;
    margin: 0;
    letter-spacing: -0.01em;
}

.grm-modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748B;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.grm-modal-close-btn:hover {
    background: #E2E8F0;
    color: #1E293B;
}

/* Step Progress Dots */
.grm-booking-progress {
    display: flex;
    gap: 8px;
    padding: 12px 24px 8px;
    background: #FFFFFF;
    border-bottom: 1px solid #F1ECE4;
}

.grm-step-dot {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #E2E8F0;
    transition: background 0.2s ease;
}

.grm-step-dot.active {
    background: #1B4332;
}

.grm-step-dot.completed {
    background: #10B981;
}

/* Form & Panes */
.grm-booking-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.grm-step-pane {
    display: none;
    padding: 24px;
}

.grm-step-pane.active {
    display: block;
    animation: grmPaneFadeIn 0.2s ease;
}

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

.grm-step-desc {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.45;
}

/* Step 1: Services Selection */
.grm-services-selection-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.grm-service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid #EAE3D2;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.grm-service-card:hover {
    border-color: #1B4332;
    background: #FAF8F5;
}

.grm-service-card.is-selected {
    border-color: #1B4332;
    background: #F4F7F5;
}

.grm-service-check-wrap {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.grm-service-checkbox {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.grm-custom-checkbox {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.grm-service-card.is-selected .grm-custom-checkbox {
    background: #1B4332;
    border-color: #1B4332;
    position: relative;
}

.grm-service-card.is-selected .grm-custom-checkbox::after {
    content: "✓";
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.grm-service-card-body {
    flex: 1;
}

.grm-service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 2px;
}

.grm-service-card-meta {
    display: flex;
    gap: 8px;
    font-size: 12.5px;
    color: #64748B;
}

.grm-service-card-price {
    font-size: 15px;
    font-weight: 800;
    color: #1B4332;
    white-space: nowrap;
}

/* Summary Bar */
.grm-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.grm-summary-left {
    color: #475569;
}

.grm-summary-divider {
    margin: 0 6px;
    color: #CBD5E1;
}

.grm-est-total-label {
    color: #64748B;
    font-size: 12.5px;
    margin-right: 4px;
}

.grm-est-total-val {
    font-size: 17px;
    font-weight: 800;
    color: #1B4332;
}

/* Step 2 Form Elements */
.grm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.grm-form-group {
    margin-bottom: 16px;
}

.grm-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.grm-input, .grm-select, .grm-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 14.5px;
    color: #1E293B;
    background: #FFFFFF;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    font-family: inherit;
}

.grm-input:focus, .grm-select:focus, .grm-textarea:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.grm-input-hint {
    display: block;
    font-size: 11.5px;
    color: #64748B;
    margin-top: 4px;
}

/* Pill Toggles */
.grm-pill-toggle-group {
    display: flex;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    overflow: hidden;
    background: #F8FAFC;
}

.grm-pill-toggle {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grm-pill-toggle input {
    display: none;
}

.grm-pill-toggle.active {
    background: #1B4332;
    color: #FFFFFF;
}

/* Breed Chips */
.grm-breed-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.grm-chip {
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #1B4332;
    cursor: pointer;
    transition: all 0.15s;
}

.grm-chip:hover {
    background: #E8EFE9;
    border-color: #1B4332;
}

/* Weight Selection Pills */
.grm-pill-selection-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.grm-pill-select {
    padding: 8px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334E68;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.grm-pill-select input {
    display: none;
}

.grm-pill-select.active {
    background: #1B4332;
    border-color: #1B4332;
    color: #FFFFFF;
}

/* Photo Upload Box */
.grm-photo-upload-wrap {
    position: relative;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    background: #FAF8F5;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s;
}

.grm-photo-upload-wrap:hover {
    border-color: #1B4332;
}

.grm-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.grm-photo-icon {
    font-size: 26px;
    display: block;
    margin-bottom: 4px;
}

.grm-photo-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #1B4332;
    display: block;
}

.grm-photo-hint {
    font-size: 11.5px;
    color: #64748B;
    display: block;
    margin-top: 2px;
}

/* STEP 3: CALENDAR & SLOTS */
.grm-calendar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 16px;
    padding: 18px;
}

.grm-calendar-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    padding: 16px;
}

.grm-calendar-month-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.grm-cal-month-title {
    font-size: 15px;
    font-weight: 800;
    color: #143326;
}

.grm-cal-nav-btn {
    background: #F1F5F9;
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #334E68;
    line-height: 1;
}

.grm-cal-nav-btn:hover:not(:disabled) {
    background: #E2E8F0;
    color: #0F172A;
}

.grm-cal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.grm-calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 6px;
}

.grm-calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.grm-cal-day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.grm-cal-day-cell:hover:not(.disabled) {
    background: #E8EFE9;
    color: #1B4332;
}

.grm-cal-day-cell.is-selected {
    background: #1B4332 !important;
    color: #FFFFFF !important;
    font-weight: 800;
}

.grm-cal-day-cell.today:not(.is-selected) {
    box-shadow: inset 0 0 0 1.5px #10B981;
}

.grm-cal-day-cell.disabled {
    color: #CBD5E1;
    cursor: not-allowed;
    background: none !important;
}

.grm-cal-day-cell.empty {
    visibility: hidden;
}

/* Slots Column */
.grm-slots-container {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.grm-slots-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F5F9;
}

.grm-slots-day-label {
    font-size: 14px;
    font-weight: 800;
    color: #143326;
}

.grm-slots-mode-note {
    font-size: 11.5px;
    color: #64748B;
    margin-top: 2px;
}

.grm-slots-content {
    flex: 1;
    max-height: 240px;
    overflow-y: auto;
}

.grm-slots-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    color: #64748B;
    font-size: 13px;
    padding: 30px 10px;
}

.grm-slots-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin: 8px 0 6px;
}

.grm-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.grm-slot-btn {
    padding: 8px 10px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1E293B;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.grm-slot-btn:hover {
    border-color: #E07A5F;
    color: #E07A5F;
}

.grm-slot-btn.is-selected {
    background: #E07A5F;
    border-color: #E07A5F;
    color: #FFFFFF;
}

/* Care Cards (Step 5) */
.grm-care-card {
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.grm-care-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.grm-care-text strong {
    font-size: 13.5px;
    color: #143326;
    display: block;
}

.grm-care-text p {
    font-size: 12px;
    color: #64748B;
    margin: 2px 0 0;
}

/* Review Card (Step 6) */
.grm-review-card {
    background: #FAF8F5;
    border: 1.5px solid #EAE3D2;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grm-review-section {
    padding-bottom: 14px;
    border-bottom: 1px dashed #E2E8F0;
}

.grm-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 4px;
}

.grm-edit-link {
    background: none;
    border: none;
    color: #1B4332;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.grm-review-val {
    font-size: 16px;
    font-weight: 800;
    color: #143326;
}

.grm-review-sub {
    font-size: 13px;
    color: #64748B;
    margin-top: 2px;
}

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

.grm-review-svc-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
}

.grm-review-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 15px;
    font-weight: 800;
    color: #143326;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1.5px solid #EAE3D2;
}

.grm-review-total-val {
    font-size: 20px;
    color: #1B4332;
}

.grm-policy-notice {
    font-size: 12px;
    color: #64748B;
    line-height: 1.45;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
}

/* Confirmation Screen (Step 7) */
.grm-confirmation-box {
    text-align: center;
    padding: 20px 10px;
}

.grm-confirmation-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.grm-confirmation-title {
    font-size: 24px;
    font-weight: 900;
    color: #1B4332;
    margin: 0 0 8px;
}

.grm-confirmation-msg {
    font-size: 14.5px;
    color: #475569;
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.grm-confirmation-code-card {
    background: #FAF8F5;
    border: 2px dashed #E07A5F;
    border-radius: 12px;
    padding: 16px;
    max-width: 320px;
    margin: 0 auto 24px;
}

.grm-code-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748B;
    letter-spacing: 0.5px;
}

.grm-code-val {
    font-family: monospace;
    font-size: 24px;
    font-weight: 900;
    color: #E07A5F;
    letter-spacing: 1.5px;
    margin: 4px 0 8px;
}

.grm-copy-code-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #334E68;
    cursor: pointer;
}

.grm-confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

/* Error Box */
.grm-error-box {
    margin: 0 24px 16px;
    padding: 12px 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    color: #991B1B;
    font-size: 13.5px;
    font-weight: 600;
}

/* Footer Action Bar */
.grm-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #F1ECE4;
    background: #FAF8F5;
}

.grm-footer-right {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* Mobile Drawer Viewport Styles */
@media (max-width: 768px) {
    .grm-booking-backdrop {
        padding: 0;
        align-items: flex-end;
    }

    .grm-booking-modal-box {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translateY(100%);
    }

    .grm-booking-backdrop.is-open .grm-booking-modal-box {
        transform: translateY(0);
    }

    .grm-calendar-layout {
        grid-template-columns: 1fr;
    }

    .grm-form-row {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    .grm-booking-backdrop,
    .grm-booking-modal-box,
    .grm-step-pane,
    .grm-service-card {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   31. Portfolio Manager & Interactive Before/After Comparison Slider
   ========================================================================== */
.grm-portfolio-tabs {
    display: flex;
    gap: 8px;
    background: #F1F5F9;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.grm-portfolio-tab-btn {
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.grm-portfolio-tab-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    color: #1B4332;
}

.grm-portfolio-tab-btn.active {
    background: #FFFFFF;
    color: #1B4332;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.grm-tab-count {
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #E2E8F0;
    color: #334155;
}

.grm-portfolio-tab-btn.active .grm-tab-count {
    background: #E8EFE9;
    color: #1B4332;
}

.grm-portfolio-pane {
    display: none;
}

.grm-portfolio-pane.active {
    display: block;
}

.grm-portfolio-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.grm-portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.08);
}

/* Interactive Before & After Comparison Slider */
.grm-ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
    background: #112A1F;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: ew-resize;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.grm-ba-slider:focus {
    outline: 3px solid #1B4332;
    outline-offset: 3px;
}

.grm-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

.grm-ba-before {
    z-index: 1;
}

.grm-ba-clipped {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    clip-path: inset(0 0 0 var(--pos, 50%));
    -webkit-clip-path: inset(0 0 0 var(--pos, 50%));
}

.grm-ba-badge {
    position: absolute;
    z-index: 4;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.grm-ba-badge-before {
    top: 14px;
    left: 14px;
    background: rgba(27, 67, 50, 0.9);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.grm-ba-badge-after {
    top: 14px;
    right: 14px;
    background: rgba(4, 120, 87, 0.9);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.grm-ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos, 50%);
    width: 3px;
    background: #FFFFFF;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.grm-ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #1B4332;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    border: 2.5px solid #1B4332;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.grm-ba-slider:hover .grm-ba-handle,
.grm-ba-slider.is-dragging .grm-ba-handle {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .grm-ba-handle {
        width: 42px;
        height: 42px;
    }
    .grm-portfolio-tabs {
        gap: 6px;
    }
    .grm-portfolio-tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .grm-portfolio-card,
    .grm-ba-handle {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Groomer Dashboard Reviews Inbox & Reputation Management
   ========================================================================== */

.grm-reviews-inbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. Summary Header Card */
.grm-reviews-summary-card {
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 14px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 210px 1fr 240px;
    align-items: center;
    gap: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.grm-rating-score-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grm-rating-big-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.grm-rating-score-val {
    font-size: 36px;
    font-weight: 900;
    color: #1B4332;
    line-height: 1;
}

.grm-rating-score-star {
    font-size: 26px;
    color: #F59E0B;
}

.grm-rating-count-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
}

/* Distribution Table */
.grm-rating-dist-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px;
}

.grm-rating-dist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.grm-rating-dist-row:hover {
    opacity: 0.85;
}

.grm-rating-star-tag {
    font-size: 12px;
    font-weight: 700;
    color: #334E68;
    width: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.grm-rating-track {
    flex: 1;
    height: 8px;
    background: #EAE3D2;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.grm-rating-fill {
    height: 100%;
    background: #52B788;
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.grm-rating-fill-amber {
    background: #F59E0B;
}

.grm-rating-fill-muted {
    background: #94A3B8;
}

.grm-rating-num-val {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    width: 32px;
    text-align: right;
}

/* Needs Attention Action Box */
.grm-reviews-attention-box {
    background: #FFFFFF;
    border: 1.5px solid #FDE68A;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.08);
}

.grm-attention-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: #92400E;
}

.grm-attention-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F59E0B;
    display: inline-block;
}

.grm-attention-desc {
    font-size: 12px;
    color: #78350F;
    line-height: 1.4;
    margin: 0;
}

.grm-attention-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #FFFFFF;
    background: #1B4332;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
    margin-top: 2px;
}

.grm-attention-btn:hover {
    background: #2D6A4F;
    color: #FFFFFF;
}

.grm-reviews-caughtup-box {
    background: #FFFFFF;
    border: 1.5px solid #A7F3D0;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.grm-caughtup-title {
    font-size: 14px;
    font-weight: 800;
    color: #065F46;
    display: flex;
    align-items: center;
    gap: 6px;
}

.grm-caughtup-desc {
    font-size: 12px;
    color: #047857;
    margin: 0;
    line-height: 1.4;
}

/* 2. Inbox Filter Toolbar */
.grm-reviews-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 6px;
}

.grm-filter-tabs-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.grm-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    background: #FFFFFF;
    border: 1px solid #D0DFD3;
    color: #334E68;
    text-decoration: none;
    transition: all 0.15s ease;
}

.grm-filter-tab:hover {
    border-color: #1B4332;
    color: #1B4332;
}

.grm-filter-tab.is-active {
    background: #1B4332;
    border-color: #1B4332;
    color: #FFFFFF;
}

.grm-filter-tab-amber {
    border-color: #FCD34D;
    color: #92400E;
    background: #FFFBEB;
}

.grm-filter-tab-amber:hover {
    border-color: #F59E0B;
    color: #78350F;
}

.grm-filter-tab-amber.is-active {
    background: #D97706;
    border-color: #D97706;
    color: #FFFFFF;
}

.grm-filter-tab-count {
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.08);
}

.grm-filter-tab.is-active .grm-filter-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* Secondary Controls (Rating, Sort, Search) */
.grm-reviews-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 10px;
    padding: 10px 14px;
}

.grm-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.grm-control-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334E68;
}

.grm-control-select {
    height: 34px;
    padding: 4px 10px;
    font-size: 12.5px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #1E293B;
    font-weight: 600;
}

.grm-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grm-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.grm-search-input {
    height: 34px;
    padding: 4px 32px 4px 30px;
    font-size: 12.5px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    width: 220px;
    transition: width 0.2s ease, border-color 0.15s ease;
}

.grm-search-input:focus {
    width: 280px;
    border-color: #1B4332;
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.grm-search-icon {
    position: absolute;
    left: 9px;
    color: #94A3B8;
    pointer-events: none;
}

.grm-search-clear {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.grm-search-clear:hover {
    color: #1E293B;
}

/* 3. Review Cards (High Density Inbox) */
.grm-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grm-review-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    scroll-margin-top: 100px;
    position: relative;
}

.grm-review-card:hover {
    border-color: #B7D5C5;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.grm-review-card.has-needs-reply {
    border-left: 3.5px solid #F59E0B;
}

.grm-review-card.has-responded {
    border-left: 3.5px solid #52B788;
}

.grm-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.grm-review-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.grm-reviewer-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #1E293B;
}

.grm-review-time {
    font-size: 12px;
    color: #64748B;
}

.grm-review-pet-pill {
    background: #EEF2F6;
    color: #334E68;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.grm-review-meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grm-review-stars-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.grm-review-rating-num {
    font-size: 13px;
    font-weight: 800;
    color: #1B4332;
}

/* Status Badges */
.grm-badge-needs-reply {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    border: 1px solid #FDE68A;
}

.grm-badge-responded {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #DCFCE7;
    color: #166534;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    border: 1px solid #BBF7D0;
}

/* Action Menu */
.grm-action-menu-wrap {
    position: relative;
}

.grm-action-menu-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 2px 6px;
    color: #94A3B8;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    transition: color 0.15s ease, background 0.15s ease;
}

.grm-action-menu-btn:hover {
    color: #1E293B;
    background: #F1F5F9;
}

.grm-action-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 175px;
    z-index: 40;
    display: none;
    padding: 4px 0;
}

.grm-action-dropdown.is-open {
    display: block;
}

.grm-action-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334E68;
    text-decoration: none;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.grm-action-dropdown-item:hover {
    background: #FAF8F5;
    color: #1B4332;
}

/* Body Review Text */
.grm-review-text {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 10px 0;
}

.grm-review-text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grm-btn-read-more {
    background: none;
    border: none;
    padding: 0;
    color: #2D6A4F;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 2px;
    display: inline-block;
}

.grm-btn-read-more:hover {
    color: #1B4332;
}

/* Card Actions Bottom Row */
.grm-review-bottom-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

/* Compact Owner Response Box */
.grm-owner-response-preview {
    background: #F4F7F5;
    border-left: 3px solid #1B4332;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grm-response-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grm-response-title {
    font-size: 12px;
    font-weight: 800;
    color: #1B4332;
}

.grm-response-date {
    font-size: 11.5px;
    color: #64748B;
}

.grm-response-quote {
    font-size: 13px;
    color: #334E68;
    line-height: 1.5;
    margin: 0;
    font-style: normal;
}

/* Inline Reply Composer */
.grm-reply-composer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #EAE3D2;
}

.grm-composer-label {
    font-size: 12.5px;
    font-weight: 800;
    color: #1B4332;
    display: block;
    margin-bottom: 5px;
}

.grm-composer-textarea {
    width: 100%;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grm-composer-textarea:focus {
    border-color: #1B4332;
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.grm-composer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

/* 4. Pagination */
.grm-reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #EAE3D2;
    flex-wrap: wrap;
}

.grm-page-link {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #D0DFD3;
    background: #FFFFFF;
    color: #1B4332;
    text-decoration: none;
    transition: all 0.15s ease;
}

.grm-page-link:hover:not(.is-disabled) {
    background: #FAF8F5;
    border-color: #1B4332;
}

.grm-page-link.is-active {
    background: #1B4332;
    border-color: #1B4332;
    color: #FFFFFF;
}

.grm-page-link.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #94A3B8;
}

.grm-page-ellipsis {
    padding: 0 4px;
    color: #94A3B8;
    font-weight: 700;
}

/* 5. Empty States */
.grm-reviews-empty-state {
    text-align: center;
    padding: 44px 24px;
    background: #FAF8F5;
    border: 1.5px dashed #D0DFD3;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.grm-empty-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.grm-empty-title {
    font-size: 17px;
    font-weight: 800;
    color: #1B4332;
    margin: 0;
}

.grm-empty-desc {
    font-size: 13.5px;
    color: #64748B;
    max-width: 440px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

/* Toast feedback for Copy Link */
.grm-toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1B4332;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.grm-toast-notice.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .grm-reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .grm-rating-score-box {
        align-items: center;
        text-align: center;
    }
    .grm-rating-dist-table {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .grm-reviews-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .grm-controls-left {
        width: 100%;
        justify-content: space-between;
    }
    .grm-control-item {
        flex: 1;
    }
    .grm-control-select {
        width: 100%;
    }
    .grm-controls-right,
    .grm-search-form,
    .grm-search-input {
        width: 100%;
    }
    .grm-search-input:focus {
        width: 100%;
    }
    .grm-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .grm-review-meta-right {
        width: 100%;
        justify-content: space-between;
    }
    .grm-composer-actions button {
        min-height: 44px;
    }
}

/* ==========================================================================
   Section 6: Client Inquiries / Leads Inbox & CRM
   ========================================================================== */
.grm-leads-inbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header Summary Card */
.grm-leads-header-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.grm-leads-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.grm-lead-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
}

.grm-lead-summary-pill-all-read {
    background: #F1F5F9;
    color: #475569;
    border-color: #E2E8F0;
}

.grm-lead-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    display: inline-block;
}

.grm-leads-header-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #64748B;
}

/* Toolbar */
.grm-leads-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.grm-leads-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.grm-leads-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.grm-leads-tab:hover {
    background: #EDF2F7;
    color: #1E293B;
}

.grm-leads-tab.is-active {
    background: #1B4332;
    color: #FFFFFF;
    border-color: #1B4332;
}

.grm-leads-tab-count {
    font-size: 11.5px;
    opacity: 0.8;
}

.grm-leads-tab-badge.is-new {
    background: #10B981;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
    line-height: 1.2;
}

.grm-leads-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.grm-leads-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.grm-search-icon {
    position: absolute;
    left: 10px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0.6;
}

.grm-leads-search-input {
    padding: 7px 28px 7px 32px;
    font-size: 13px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    min-width: 220px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.grm-leads-search-input:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 2px rgba(27, 67, 50, 0.12);
}

.grm-search-clear {
    position: absolute;
    right: 9px;
    font-size: 11px;
    color: #94A3B8;
    text-decoration: none;
    cursor: pointer;
}

.grm-search-clear:hover {
    color: #334155;
}

.grm-leads-sort-select {
    padding: 7px 12px;
    font-size: 13px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #334155;
    outline: none;
    cursor: pointer;
}

/* Leads List Container */
.grm-leads-list {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Lead Item Row (Target: ~60–75px height) */
.grm-lead-item {
    border-bottom: 1px solid #F1ECE1;
    position: relative;
    transition: background-color 0.15s ease;
}

.grm-lead-item:last-child {
    border-bottom: none;
}

.grm-lead-item.is-unread {
    background-color: #F4F9F6;
    border-left: 3.5px solid #2D6A4F;
}

.grm-lead-item.is-read {
    background-color: #FFFFFF;
    border-left: 3.5px solid transparent;
}

.grm-lead-item:hover {
    background-color: #EEF6F1;
}

.grm-lead-item.is-expanded {
    background-color: #F8FAF9;
}

/* Compact Row Layout */
.grm-lead-compact-row {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    min-height: 64px;
    max-height: 76px;
    box-sizing: border-box;
    cursor: pointer;
}

.grm-lead-content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Row 1: Sender & Badges */
.grm-lead-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.grm-lead-sender-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grm-lead-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
}

.grm-lead-dot.is-active {
    background: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.grm-lead-sender {
    font-size: 14.5px;
    color: #143326;
    white-space: nowrap;
}

.grm-lead-item.is-unread .grm-lead-sender {
    font-weight: 700;
}

.grm-lead-item.is-read .grm-lead-sender {
    font-weight: 600;
    color: #334155;
}

.grm-lead-sep {
    color: #CBD5E1;
    font-size: 12px;
}

.grm-lead-pet-tag {
    font-size: 12px;
    color: #475569;
    background: #F1F5F9;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
}

.grm-lead-breed-sub {
    color: #64748B;
}

/* Status Pill Badges */
.grm-lead-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
}

.grm-lead-badge-new {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.grm-lead-badge-contacted {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.grm-lead-badge-booked {
    background: #FAF5FF;
    color: #6B21A8;
    border: 1px solid #E9D5FF;
}

.grm-lead-badge-closed {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
}

.grm-lead-badge-spam {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.grm-lead-repeat-pill {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 2px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.grm-lead-pref-tag {
    font-size: 11.5px;
    color: #475569;
    background: #F3F4F6;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
}

.grm-lead-time-wrap {
    flex-shrink: 0;
}

.grm-lead-time {
    font-size: 12px;
    color: #64748B;
    white-space: nowrap;
}

/* Row 2: Prominent Message Snippet & Quick Actions */
.grm-lead-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.grm-lead-message-preview {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.grm-lead-message-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.grm-lead-item.is-unread .grm-lead-message-text {
    color: #1E293B;
}

.grm-lead-quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.grm-lead-quick-btn {
    font-size: 12.5px;
    color: #2D6A4F;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.grm-lead-quick-btn:hover {
    text-decoration: underline;
    background: rgba(45, 106, 79, 0.08);
}

.grm-btn-view-lead {
    font-size: 12px;
    padding: 3px 9px;
    height: 26px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.grm-btn-view-lead:hover {
    border-color: #1B4332;
    color: #1B4332;
    background: #F4F9F6;
}

.grm-chevron-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.grm-lead-item.is-expanded .grm-chevron-icon {
    transform: rotate(180deg);
}

/* Accordion Drawer (Expanded View ~300-400px) */
.grm-lead-drawer {
    background: #FAF8F5;
    border-top: 1px solid #EAE3D2;
    padding: 16px 20px 18px;
    box-sizing: border-box;
}

.grm-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Compact Metadata (Flat, typography-driven) */
.grm-lead-metadata-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.grm-lead-meta-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grm-lead-meta-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.grm-lead-meta-name {
    font-size: 18px;
    font-weight: 800;
    color: #143326;
    letter-spacing: -0.01em;
}

.grm-lead-client-context {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    background: #E2E8F0;
    padding: 2px 9px;
    border-radius: 9999px;
}

.grm-lead-meta-subrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #334155;
    flex-wrap: wrap;
}

.grm-lead-pet-spec {
    font-weight: 700;
    color: #143326;
}

.grm-lead-meta-pipe {
    color: #CBD5E1;
    font-weight: 400;
}

.grm-lead-meta-service {
    font-weight: 600;
    color: #475569;
}

.grm-lead-meta-timing {
    color: #64748B;
}

.grm-lead-meta-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
    flex-wrap: wrap;
    margin-top: 2px;
}

.grm-lead-contact-link {
    color: #2D6A4F;
    text-decoration: none;
    font-weight: 600;
}

.grm-lead-contact-link:hover {
    text-decoration: underline;
}

.grm-lead-meta-timestamp {
    color: #64748B;
}

/* Full Message View (Flatter, clean container) */
.grm-lead-full-message-wrap {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.grm-message-label {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748B;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.grm-message-body {
    font-size: 14px;
    color: #1E293B;
    line-height: 1.5;
}

/* Repeat Client History (Collapsed by Default, Compact Timeline) */
.grm-lead-repeat-history-box {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid #EAE3D2;
    background: transparent;
    border-radius: 0;
}

.grm-lead-history-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: color 0.15s ease;
}

.grm-lead-history-toggle:hover {
    color: #1B4332;
}

.grm-hist-toggle-icon {
    font-size: 14px;
    color: #2D6A4F;
}

.grm-hist-toggle-action {
    color: #2D6A4F;
    font-size: 12.5px;
    font-weight: 700;
}

.grm-lead-timeline {
    margin-top: 10px;
    margin-left: 6px;
    padding-left: 14px;
    border-left: 2px solid #CBD5E1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grm-timeline-entry {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grm-timeline-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748B;
    flex-wrap: wrap;
}

.grm-timeline-date {
    font-weight: 700;
    color: #334155;
}

.grm-timeline-sep {
    color: #CBD5E1;
}

.grm-timeline-svc {
    font-weight: 600;
    color: #475569;
}

.grm-timeline-snippet {
    font-size: 13px;
    color: #334155;
    font-style: italic;
    line-height: 1.4;
}

.grm-timeline-more {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
    padding-top: 4px;
}

/* Actions Bar */
.grm-lead-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.grm-lead-left-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.grm-lead-status-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.grm-inline-lead-status-form,
.grm-inline-lead-read-form {
    display: inline-block;
    margin: 0;
}

.grm-btn-status-act {
    font-size: 12px;
    padding: 4px 10px;
}

/* Pagination */
.grm-leads-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #FFFFFF;
    border-top: 1px solid #EAE3D2;
    font-size: 13px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 12px;
}

.grm-pagination-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.grm-page-link {
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.grm-page-link:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.grm-page-link.is-active {
    background: #1B4332;
    color: #FFFFFF;
    border-color: #1B4332;
}

.grm-page-ellipsis {
    padding: 5px 6px;
    color: #94A3B8;
}

/* Empty State */
.grm-leads-empty-card {
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grm-empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.grm-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #1B4332;
    margin: 0 0 6px;
}

.grm-empty-desc {
    font-size: 13.5px;
    color: #64748B;
    max-width: 420px;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Mobile Responsive Optimization (< 640px) */
@media (max-width: 640px) {
    .grm-lead-compact-row {
        max-height: none;
        min-height: 68px;
        padding: 12px 14px;
    }
    .grm-lead-row-1 {
        flex-wrap: wrap;
        gap: 6px;
    }
    .grm-lead-row-2 {
        flex-wrap: wrap;
        gap: 8px;
    }
    .grm-lead-quick-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 4px;
    }
    .grm-hide-xs {
        display: none !important;
    }
    .grm-leads-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .grm-leads-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .grm-leads-search-input {
        width: 100%;
    }
    .grm-leads-sort-select {
        width: 100%;
    }
    .grm-lead-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .grm-lead-left-actions .btn,
    .grm-lead-status-controls .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Dashboard Application Shell & Sidebar Navigation Architecture
   ========================================================================== */
.grm-dashboard-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 4px;
}

.grm-dashboard-sidebar {
    background: #FFFFFF;
    border: 1px solid #EAE3D2;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    position: sticky;
    top: 24px;
}

/* Sidebar Integrated Business Header */
.grm-sidebar-biz-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #FAF8F5;
    border: 1px solid #EAE3D2;
    border-radius: 10px;
    margin-bottom: 16px;
}

.grm-sidebar-biz-avatar {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    overflow: hidden;
    background: #E8EFE9;
    border: 1px solid #D0DFD3;
    flex-shrink: 0;
}

.grm-biz-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grm-sidebar-biz-info {
    flex: 1;
    min-width: 0;
}

.grm-sidebar-biz-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #143326;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.grm-sidebar-biz-loc {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grm-sidebar-biz-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.grm-sidebar-tier-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.2;
}

.grm-sidebar-view-profile {
    font-size: 11px;
    color: #0284C7;
    text-decoration: none;
    font-weight: 600;
}

.grm-sidebar-view-profile:hover {
    text-decoration: underline;
    color: #0369A1;
}

/* Nav Groups */
.grm-dash-nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.grm-dash-nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.grm-dash-group-title {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #94A3B8;
    text-transform: uppercase;
    padding: 0 10px 4px;
}

.grm-dash-nav-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.grm-dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
}

.grm-dash-nav-item:hover {
    background: #FAF8F5;
    color: #143326;
}

.grm-dash-nav-item.is-active {
    background: #1B4332;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

.grm-dash-nav-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #64748B;
    transition: color 0.15s ease;
}

.grm-dash-nav-item:hover .grm-dash-nav-svg {
    color: #143326;
}

.grm-dash-nav-item.is-active .grm-dash-nav-svg {
    color: #FFFFFF;
}

.grm-dash-nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grm-dash-nav-count {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
}

.grm-dash-nav-item.is-active .grm-dash-nav-count {
    color: rgba(255, 255, 255, 0.7);
}

.grm-dash-nav-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    line-height: 1.1;
    flex-shrink: 0;
}

.grm-dash-badge-danger {
    background: #E05338;
    color: #FFFFFF;
}

.grm-dash-badge-amber {
    background: #F59E0B;
    color: #FFFFFF;
}

.grm-dash-badge-forest {
    background: #52B788;
    color: #0F2D20;
}

.grm-dash-nav-item.is-active .grm-dash-badge-forest {
    background: #52B788;
    color: #0F2D20;
}

.grm-dashboard-main {
    flex: 1;
    min-width: 0;
}

/* Overview Operational Hub ("What Needs My Attention Today?") */
.grm-attention-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.grm-attention-card {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.grm-attention-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.grm-attention-card.has-urgent {
    border-color: #FCD34D;
    background: linear-gradient(180deg, #FFFDF7 0%, #FFFFFF 100%);
}

.grm-attention-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.grm-attention-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.grm-attention-icon-coral {
    background: #FEE2E2;
    color: #DC2626;
}

.grm-attention-icon-amber {
    background: #FEF3C7;
    color: #D97706;
}

.grm-attention-icon-forest {
    background: #E8EFE9;
    color: #1B4332;
}

.grm-attention-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.grm-attention-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
}

.grm-attention-value {
    font-size: 22px;
    font-weight: 800;
    color: #143326;
    line-height: 1.2;
    margin: 0 0 4px;
}

.grm-attention-desc {
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.4;
    margin: 0 0 14px;
}

.grm-attention-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    align-self: flex-start;
}

/* Availability Inline Strip */
.grm-avail-strip {
    background: #FFFFFF;
    border: 1.5px solid #EAE3D2;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.grm-avail-strip-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.grm-avail-strip-title {
    font-size: 15px;
    font-weight: 800;
    color: #143326;
}

.grm-avail-strip-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Overview Split Activity Feed */
.grm-activity-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

@media (max-width: 840px) {
    .grm-activity-split {
        grid-template-columns: 1fr;
    }
}

/* Mobile Slide-Over Drawer & Bar (< 992px) */
.grm-dash-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.grm-dash-drawer-backdrop.is-open {
    display: block;
    opacity: 1;
}

.grm-mobile-drawer-header {
    display: none;
}

.grm-dash-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    .grm-dashboard-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grm-dash-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        background: #FFFFFF;
        border: 1px solid #EAE3D2;
        border-radius: 12px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }

    .grm-dash-mobile-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #FAF8F5;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 13.5px;
        font-weight: 700;
        color: #143326;
        cursor: pointer;
        min-height: 44px;
    }

    .grm-dash-mobile-current-title {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .grm-mobile-active-name {
        font-size: 14px;
        font-weight: 700;
        color: #1B4332;
    }

    .grm-dashboard-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        background: #FFFFFF;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
        border-radius: 0;
        border: none;
        border-right: 1px solid #EAE3D2;
        overflow-y: auto;
        padding: 16px;
    }

    .grm-dashboard-sidebar.is-open {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.15);
    }

    .grm-mobile-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 12px;
        margin-bottom: 14px;
        border-bottom: 1px solid #EAE3D2;
    }

    .grm-mobile-drawer-title {
        font-size: 14px;
        font-weight: 800;
        color: #143326;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .grm-mobile-drawer-close {
        background: #F1F5F9;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 700;
        color: #475569;
        cursor: pointer;
    }

    .grm-dash-nav-item {
        min-height: 44px;
    }
}




