/* 
    Arquivo de Estilos do Site Principal
    Baseado no Template Modelo /site_modelo/
*/

:root {
    --color-primary: #C8A97E;
    --color-secondary: #1A1A2E;
    --color-accent: #F8F9FA;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-secondary);
    color: #fff;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utilitários */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 2rem;
}

.site-header.scrolled {
    background-color: rgba(10, 10, 22, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.12);
    padding: 1rem 2rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80rem;
    margin: 0 auto;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.scrolled .logo-link {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.social-link {
    color: #fff;
    transition: color 0.3s;
}

.scrolled .social-link {
    color: var(--color-accent);
}

.social-link:hover {
    color: #fff !important;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    background: none;
    border: none;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.scrolled .btn-login {
    color: var(--color-accent);
}

.btn-login:hover {
    color: #fff !important;
}

.btn-agendar {
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn-agendar:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    width: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-swiper,
.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

/* Loader Site */
.loader-site-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-secondary);
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-site-page .loader-spinner {
    color: #fff;
}

.loader-site-page .loader-bootstrap-spinner {
    width: 2.75rem;
    height: 2.75rem;
    border-width: .22rem;
    color: rgba(255,255,255,0.70);
}

.loader-site-page .loader-texto {
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.75rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.20) 55%, transparent 75%),
        linear-gradient(to top, color-mix(in srgb, var(--color-primary) 80%, transparent) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    color: var(--color-accent);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(248, 249, 250, 0.9);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.btn-hero {
    background: #fff;
    color: var(--color-secondary);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.30);
}

.btn-hero:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.90);
}

.btn-banner {
    background: #fff !important;
    color: var(--color-secondary) !important;
}

.btn-banner:hover {
    background: rgba(255,255,255,0.88) !important;
    color: var(--color-secondary) !important;
}

/* Hero Sem Banners — Layout Premium
-------------------------------------------------- */
.hero-nobanner {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7rem 0 4rem;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--color-primary) 18%, #ffffff) 0%,
            #ffffff 46%,
            color-mix(in srgb, var(--color-secondary) 16%, #ffffff) 100%);
}

/* Nav flutuante (sem banners) */
.nb-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 1.5rem 2rem;
}
.nb-nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nb-nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}
.nb-nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}
.nb-nav-icon {
    color: color-mix(in srgb, var(--color-secondary) 70%, var(--color-primary));
    font-size: 1.2rem;
    transition: color 0.3s;
    text-decoration: none;
}
.nb-nav-icon:hover { color: var(--color-primary); }
.nb-nav-login {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: color-mix(in srgb, var(--color-primary) 86%, #111111);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}
.nb-nav-login:hover { color: var(--color-secondary); }
.nb-nav-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 24%, transparent);
}
.nb-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--color-primary) 32%, transparent);
    color: #fff;
}

/* Conteúdo central */
.nb-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 52rem;
}

/* Badge */
.nb-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.78);
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    margin-bottom: 2.2rem;
    backdrop-filter: blur(6px);
}
.nb-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 8px color-mix(in srgb, var(--color-secondary) 45%, transparent);
    animation: nb-pulse 2s ease-in-out infinite;
}
@keyframes nb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Logo */
.nb-logo-wrap {
    position: relative;
    margin-bottom: 2rem;
}
.nb-logo-img {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 28px color-mix(in srgb, var(--color-primary) 24%, transparent));
}

/* Título */
.nb-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtítulo */
.nb-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: color-mix(in srgb, var(--color-primary) 72%, #202020);
    font-weight: 400;
    line-height: 1.65;
    max-width: 36rem;
    margin-bottom: 2.8rem;
}

/* Botões de ação */
.nb-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}
.nb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--color-primary) 26%, transparent);
}
.nb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--color-primary) 34%, transparent);
    color: #fff;
}
.nb-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}
.nb-btn-ghost:hover {
    background: #fff;
    border-color: color-mix(in srgb, var(--color-secondary) 42%, transparent);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

/* Indicador de scroll */
.nb-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: color-mix(in srgb, var(--color-primary) 55%, #555555);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.nb-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
    animation: nb-scroll-anim 2s ease-in-out infinite;
}
@keyframes nb-scroll-anim {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* Responsividade */
@media (max-width: 640px) {
    .nb-nav-brand { display: none; }
    .nb-logo-img  { max-width: 120px; }
    .nb-actions   { flex-direction: column; align-items: stretch; }
    .nb-btn-primary, .nb-btn-ghost { justify-content: center; }
}

/* ══ Seções — Tema Escuro Premium
   Todas as seções usam apenas cor primária e secundária do tema.
   Superfícies de vidro via rgba + backdrop-filter.
══════════════════════════════════════════════════════════════════ */

/* Helper: conteúdo acima das decorações pseudo-elemento */
.services-section .max-w-7xl,
.products-section .max-w-7xl,
.testimonials-section .max-w-7xl,
.site-footer .max-w-7xl {
    position: relative;
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    color: #fff;
}

.section-description {
    color: rgba(255,255,255,0.45) !important;
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Filtros — pílulas de vidro escuro */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3.5rem;
}

.btn-filter {
    padding: 0.5rem 1.35rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.825rem;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.50);
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.btn-filter:hover {
    border-color: rgba(255,255,255,0.40);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.btn-filter.active {
    background: #fff;
    border-color: #fff;
    color: var(--color-secondary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.20);
    transform: scale(1.03);
}

/* ── Services Section ── */
.services-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(255,255,255,0.09) 0%, transparent 48%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--color-secondary) 82%, var(--color-primary)) 0%,
            color-mix(in srgb, var(--color-primary) 42%, #050505) 100%);
    padding-top: 6rem;
    padding-bottom: 6rem;
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255,255,255,0.38);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.07);
}

.service-img-wrapper {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.40) 100%);
    transition: opacity 0.4s;
    z-index: 1;
}

.service-card:hover .service-img-overlay {
    opacity: 0.55;
}

.service-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    padding: 0.18rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: rgba(0,0,0,0.30);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.service-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.service-price {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 0.18rem 0.65rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-desc {
    color: rgba(255,255,255,0.48);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.btn-service-agendar {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.80);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.02em;
}

.btn-service-agendar:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.60);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.services-pagination-wrap {
    position: relative;
    z-index: 1;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.services-pagination-wrap.active {
    display: flex;
}

.services-page-btn,
.services-page-number {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.86);
    border-radius: 9999px;
    transition: all 0.25s ease;
}

.services-page-btn {
    width: auto;
    min-width: 3.1rem;
    padding: 0 1rem;
}

.services-page-btn:hover,
.services-page-number:hover,
.services-page-number.active {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.48);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.services-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.services-pagination-spinner {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    border: 3px solid rgba(255,255,255,0.18);
    border-top-color: #fff;
    border-radius: 50%;
    animation: services-spin 0.75s linear infinite;
}

.services-pagination-wrap.loading .services-pagination-controls {
    display: none;
}

.services-pagination-wrap.loading .services-pagination-spinner {
    display: block;
}

.services-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.services-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

@keyframes services-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Products Section ── */
.products-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.08) 0%, transparent 45%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--color-primary) 42%, #050505) 0%,
            color-mix(in srgb, var(--color-secondary) 82%, var(--color-primary)) 100%);
    padding-top: 6rem;
    padding-bottom: 6rem;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .products-grid { grid-template-columns: 1fr; }
}

.product-card {
    display: flex;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    align-items: center;
}

.product-card:hover {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 12px 45px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

.product-img-wrapper {
    width: 8.5rem;
    height: 9.5rem;
    flex-shrink: 0;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.10);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    flex: 1;
}

.product-brand {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-price {
    background: color-mix(in srgb, var(--color-primary) 14%, white);
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    color: var(--color-secondary);
    padding: 0.16rem 0.58rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: rgba(26,26,46,0.65);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-top: 0.15rem;
}

.products-pagination-wrap {
    position: relative;
    z-index: 1;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.products-pagination-wrap.active {
    display: flex;
}

.products-page-btn,
.products-page-number {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.86);
    border-radius: 9999px;
    transition: all 0.25s ease;
}

.products-page-btn {
    width: auto;
    min-width: 3.1rem;
    padding: 0 1rem;
}

.products-page-btn:hover,
.products-page-number:hover,
.products-page-number.active {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.48);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.products-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.products-pagination-spinner {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    border: 3px solid rgba(255,255,255,0.18);
    border-top-color: #fff;
    border-radius: 50%;
    animation: services-spin 0.75s linear infinite;
}

.products-pagination-wrap.loading .products-pagination-controls {
    display: none;
}

.products-pagination-wrap.loading .products-pagination-spinner {
    display: block;
}

.products-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.products-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

/* ── Testimonials Section ── */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 55%),
        linear-gradient(160deg,
            color-mix(in srgb, var(--color-primary) 38%, #050505) 0%,
            color-mix(in srgb, var(--color-secondary) 82%, var(--color-primary)) 55%,
            color-mix(in srgb, var(--color-primary) 34%, #050505) 100%);
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--color-primary) 20%, white) 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--color-primary) 32%, white) 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
}

.star-icon {
    width: 1rem;
    height: 1rem;
}

.star-icon.filled {
    color: #F4B942;
}

.star-icon.empty {
    color: rgba(0,0,0,0.15);
}

.testimonial-text {
    color: rgba(26,26,46,0.72);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

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

.author-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: var(--color-primary);
    border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
    color: var(--color-secondary);
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(26,26,46,0.55);
}

/* ── Footer ── */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-primary) 28%, #050505) 0%,
        color-mix(in srgb, var(--color-primary) 16%, #050505) 100%);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.20) 50%, transparent 100%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #fff;
}

.footer-brand p {
    color: rgba(255,255,255,0.38);
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255,255,255,0.40);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    font-size: 0.875rem;
}

.footer-list li .icon {
    color: rgba(255,255,255,0.40);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
    font-weight: 300;
}

/* Footer social icon */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.50);
    color: #fff;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-tooltip {
    background: rgba(10,10,22,0.92);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.30);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-fixed:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-btn {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}

@media (min-width: 768px) {
    .whatsapp-btn {
        width: 4rem;
        height: 4rem;
    }
}

.whatsapp-btn:hover {
    background-color: #20bd5a;
    transform: scale(1.1);
}

.whatsapp-btn i {
    font-size: 2rem;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid #25D366;
    animation: ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    width: 1.5rem !important;
    border-radius: 1rem !important;
}

/* Paginação da Tabela de Caixa
-------------------------------------------------- */

/* Agendamento Multi-etapas */
.booking-container {
    min-height: 100vh;
    background-color: var(--color-accent);
    padding-bottom: 5rem;
    color: var(--color-secondary);
}

.booking-mini-header {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--color-primary);
}

.booking-progress {
    max-width: 56rem;
    margin: 3rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.progress-bg-line {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.progress-active-line {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    height: 2px;
    background-color: var(--color-primary);
    z-index: 2;
    transition: width 0.5s ease;
}

.progress-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: var(--color-accent);
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s;
}

.progress-step.active .step-number {
    border-color: var(--color-primary);
    border-width: 3px;
    color: var(--color-primary);
}

.progress-step.completed .step-number {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-secondary);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(26, 26, 46, 0.6);
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: var(--color-secondary);
    font-weight: 700;
}

/* Card de Agendamento */
.booking-card {
    max-width: 60rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(200, 169, 126, 0.1);
    min-height: 400px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInAgendamento 0.4s ease-out;
}

@keyframes fadeInAgendamento {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.booking-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    color: rgba(26, 26, 46, 0.6);
    margin-bottom: 2rem;
}

/* Grid de Seleção (Serviços / Profissionais) */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.selectable-item {
    text-align: left;
    background-color: rgba(248, 249, 250, 0.5);
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.selectable-item:hover {
    border-color: rgba(200, 169, 126, 0.3);
    background-color: var(--color-accent);
}

.selectable-item.selected {
    border-color: var(--color-primary);
    background-color: rgba(200, 169, 126, 0.05);
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.1);
}

.item-img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.prof-img-wrapper {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid rgba(200, 169, 126, 0.2);
}

.prof-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.item-info {
    font-size: 0.875rem;
    color: rgba(26, 26, 46, 0.6);
}

.item-price {
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Calendário */
.calendar-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

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

.calendar-container {
    background-color: rgba(248, 249, 250, 0.4);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(200, 169, 126, 0.2);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-month {
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: capitalize;
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.btn-nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.day-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(26, 26, 46, 0.4);
    padding: 0.5rem 0;
    text-align: center;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fff;
    border: 2px solid transparent;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day:not(.empty):not(.disabled):hover {
    border-color: var(--color-primary);
}

.calendar-day.selected {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(200, 169, 126, 0.3);
}

/* Slots de Horário */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(200, 169, 126, 0.1);
    background-color: rgba(248, 249, 250, 0.3);
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    border-color: rgba(200, 169, 126, 0.5);
}

.time-slot.selected {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 4px 10px rgba(200, 169, 126, 0.2);
}

/* Confirmação e Formulário */
.confirmation-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.form-column {
    flex: 1;
    min-width: 300px;
}

.summary-column {
    width: 20rem;
    flex-shrink: 0;
}

.summary-box {
    background-color: var(--color-secondary);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.summary-box::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 9999px;
    filter: blur(40px);
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item i {
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.summary-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.summary-value {
    font-weight: 700;
}

/* Footer de Navegação */
.booking-nav-footer {
    max-width: 60rem;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-nav-booking {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    background-color: #fff;
    color: var(--color-secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-next {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

.btn-next:disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-next:not(:disabled):hover {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 640px) {
    .booking-card {
        padding: 1.5rem;
    }
    
    .summary-column {
        width: 100%;
    }
    
    .booking-progress {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .step-label {
        display: none;
    }
}

/* Agendamento publico - visual moderno */
.booking-container {
    min-height: 100vh;
    padding-bottom: 5rem;
    color: #172033;
    background:
        linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--color-primary) 8%, #f6f7fb) 100%);
}

.booking-mini-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(20, 28, 44, 0.08);
    backdrop-filter: blur(14px);
}

.booking-mini-header .logo-link {
    color: var(--color-primary) !important;
    font-weight: 800;
    letter-spacing: 0;
}

.back-link {
    color: #172033;
    font-weight: 700;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--color-primary);
}

.booking-progress {
    max-width: 58rem;
    margin: 2.6rem auto 3.4rem;
}

.progress-bg-line,
.progress-active-line {
    top: 1.35rem;
    left: 3.375rem;
}

.progress-bg-line {
    background: #e3e7ef;
    right: 3.375rem;
}

.progress-active-line {
    background: var(--color-primary);
    width: calc(100% - 6.75rem);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.step-number {
    width: 2.75rem;
    height: 2.75rem;
    background: #fff;
    border-color: #e3e7ef;
    color: #8a94a8;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(20, 28, 44, 0.06);
}

.progress-step.active .step-number {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.progress-step.completed .step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.step-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #7b8496;
}

.progress-step.active .step-label {
    color: #172033;
}

.booking-card {
    max-width: 62rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 28, 44, 0.08);
    border-radius: 8px;
    padding: clamp(1.35rem, 3vw, 2.5rem);
    box-shadow: 0 24px 70px rgba(20, 28, 44, 0.10);
    min-height: 430px;
}

.step-content.active {
    animation: fadeInAgendamento 0.25s ease-out;
}

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

.booking-step-head {
    margin-bottom: 1.75rem;
}

.booking-kicker {
    display: inline-flex;
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.booking-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    color: #111827;
    margin-bottom: 0.55rem;
}

.booking-subtitle {
    color: #657085;
    line-height: 1.55;
    margin: 0;
    max-width: 42rem;
}

.selection-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1rem;
}

.services-selection-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.professionals-selection-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.selectable-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(20, 28, 44, 0.10);
    border-radius: 8px;
    padding: 1rem;
    color: #172033;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.selectable-item:hover {
    border-color: color-mix(in srgb, var(--color-primary) 45%, #d7dce7);
    box-shadow: 0 16px 38px rgba(20, 28, 44, 0.10);
    transform: translateY(-2px);
}

.selectable-item.selected {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, #fff);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.selected-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    opacity: 0;
    transform: scale(0.82);
    transition: all 0.2s ease;
    z-index: 2;
}

.selectable-item.selected .selected-indicator {
    opacity: 1;
    transform: scale(1);
}

.item-img {
    height: 9.25rem;
    border-radius: 8px;
    background: #eef1f6;
}

.prof-img-wrapper {
    width: 6.5rem;
    height: 6.5rem;
    border: 3px solid color-mix(in srgb, var(--color-primary) 20%, #fff);
    background: #eef1f6;
}

.any-professional-icon {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.2rem auto 0.45rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 34px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.item-name {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #111827;
}

.item-info {
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #667085;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.35rem;
}

.item-price {
    color: var(--color-primary);
    font-weight: 800;
    margin-top: 0;
}

.item-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #667085;
    font-weight: 700;
    font-size: 0.82rem;
}

.booking-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 2rem;
    border: 1px dashed #cbd3df;
    border-radius: 8px;
    color: #667085;
    text-align: center;
}

.booking-empty-state i {
    color: var(--color-primary);
    font-size: 2rem;
}

.calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
    gap: 1.4rem;
    align-items: start;
}

.calendar-container,
.time-container {
    border: 1px solid rgba(20, 28, 44, 0.10);
    border-radius: 8px;
    padding: 1.25rem;
    background: #f8fafc;
}

.calendar-header {
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-month {
    color: #111827;
    font-weight: 800;
    font-size: 1.05rem;
}

.btn-nav {
    border: 1px solid rgba(20, 28, 44, 0.10);
    background: #fff;
    color: #172033;
}

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

.calendar-grid {
    gap: 0.45rem;
}

.day-name {
    font-size: 0.72rem;
    font-weight: 800;
    color: #7b8496;
}

.calendar-day {
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    background: #fff;
    color: #172033;
    border: 1px solid rgba(20, 28, 44, 0.08);
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day.disabled {
    color: #bdc5d4;
    opacity: 0.6;
}

.calendar-day:not(.empty):not(.disabled):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.calendar-day.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.calendar-day.selected:hover,
.calendar-day.selected:focus,
.calendar-day.selected:active,
.calendar-day.selected:focus-visible {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff !important;
    outline: none;
}

.time-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.time-title i {
    color: var(--color-primary);
}

.time-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.time-slot {
    min-height: 2.8rem;
    padding: 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(20, 28, 44, 0.10);
    background: #fff;
    color: #172033;
    font-weight: 800;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.time-slot.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.booking-inline-state {
    grid-column: 1 / -1;
    min-height: 8.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem;
    color: #667085;
    background: #fff;
    border: 1px dashed #cbd3df;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    line-height: 1.45;
}

.booking-inline-state.warning {
    color: #9a6700;
    background: #fff8e6;
    border-color: #f3d37a;
}

.booking-inline-state.error {
    color: #b42318;
    background: #fff2f0;
    border-color: #f2b8b5;
}

.confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 21rem);
    gap: 1.6rem;
}

.form-column {
    min-width: 0;
}

.form-column .form-control {
    border-radius: 8px;
    border-color: #d9deea;
    color: #172033;
    box-shadow: none;
}

.form-column .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.form-column .form-control:disabled {
    background: #f1f4f8;
    color: #4c5668;
}

.client-hint {
    min-height: 1.3rem;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #667085;
}

.client-hint.success {
    color: #198754;
}

.client-hint.warning {
    color: #9a6700;
}

.summary-box {
    background: #111827;
    color: #fff;
    border-radius: 8px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.22);
}

.summary-box::before {
    display: none;
}

.summary-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.4rem;
}

.summary-item {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.summary-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.summary-item i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    width: 1.1rem;
    text-align: center;
}

.summary-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.54);
    letter-spacing: 0.08em;
    font-weight: 800;
}

.summary-value {
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
}

.summary-price {
    color: var(--color-primary);
    font-weight: 800;
    margin-top: 0.2rem;
}

.booking-nav-footer {
    max-width: 62rem;
    margin-top: 1.75rem;
    gap: 1rem;
}

.btn-nav-booking {
    min-height: 2.9rem;
    padding: 0.75rem 1.5rem;
    font-weight: 800;
    justify-content: center;
}

.btn-prev {
    background: #fff;
    color: #172033;
    box-shadow: 0 10px 24px rgba(20, 28, 44, 0.08);
}

.btn-prev:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-next {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.btn-next.btn-confirm-success {
    background: #198754;
    color: #fff;
    box-shadow: 0 12px 28px rgba(25, 135, 84, 0.22);
}

.btn-next:disabled,
.btn-next.btn-confirm-success:disabled {
    background: #d8dee8;
    color: #8791a4;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-next:not(:disabled):hover {
    transform: translateY(-1px);
    filter: brightness(0.96);
}

@media (max-width: 900px) {
    .calendar-layout,
    .confirmation-layout {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .booking-mini-header {
        padding: 0.9rem 1rem;
    }

    .booking-mini-header .logo-link {
        font-size: 1rem;
        text-align: right;
    }

    .booking-progress {
        margin-top: 2rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .progress-bg-line,
    .progress-active-line {
        left: 2.25rem;
        top: 1.25rem;
    }

    .progress-bg-line {
        right: 2.25rem;
    }

    .progress-active-line {
        width: calc(100% - 4.5rem);
    }

    .step-number {
        width: 2.5rem;
        height: 2.5rem;
    }

    .selection-grid,
    .services-selection-grid,
    .professionals-selection-grid {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-nav-footer {
        position: sticky;
        bottom: 0;
        z-index: 20;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 0.9rem 1.5rem;
        background: rgba(255, 255, 255, 0.92);
        border-top: 1px solid rgba(20, 28, 44, 0.08);
        backdrop-filter: blur(14px);
    }

    .btn-nav-booking {
        padding: 0.72rem 1rem;
        font-size: 0.86rem;
    }
}
