:root {
    --bg: #fbf7f4;
    --surface: #ffffff;
    --surface-2: #f3e3d8;
    --ink: #3e2a33;
    --muted: #8a737d;
    --brand: #c97b84;
    --brand-dark: #a85f69;
    --accent: #c9a227;
    --accent-soft: #f3d9c9;
    --line: #ead9d2;
    --success: #4e8a6b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(62, 42, 51, 0.08);
    --shadow-lg: 0 24px 60px rgba(62, 42, 51, 0.14);
    --font-body: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Cormorant Garamond", "Fraunces", Georgia, "Times New Roman", serif;
    --maxw: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--surface);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

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

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    font-size: 1.05rem;
}

.delivery-card {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    text-align: start;
}

.delivery-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-card-icon {
    flex: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 1.25rem;
}

.delivery-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.delivery-card-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
}

.delivery-card-name {
    font-weight: 700;
    color: var(--ink);
    font-size: .98rem;
}

.delivery-card-status {
    flex: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef7ef;
    color: #2e7d4f;
    font-size: .72rem;
    font-weight: 700;
}

.delivery-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.delivery-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    font-size: .86rem;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}

.delivery-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.delivery-btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.delivery-btn-call {
    background: linear-gradient(135deg, #22c55e, #0f9d58);
    box-shadow: 0 6px 16px rgba(16, 157, 88, .28);
}

.delivery-btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 16px rgba(18, 140, 126, .25);
}

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    flex-shrink: 0;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--brand);
}

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

.lang-switch {
    display: flex;
    gap: 4px;
    background: var(--surface-2);
    border-radius: 999px;
    padding: 3px;
}

.lang-switch a {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--muted);
}

.lang-switch a.active {
    background: var(--brand);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-dark);
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 84px 0 64px;
    background:
        radial-gradient(circle at 12% 20%, rgba(201, 138, 60, 0.16), transparent 42%),
        radial-gradient(circle at 88% 8%, rgba(111, 78, 55, 0.12), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 18px;
}

.hero-note {
    font-size: 0.86rem;
    color: var(--muted);
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 30px;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.hero-stat {
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 16px 10px;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--brand);
}

.hero-stat span {
    font-size: 0.78rem;
    color: var(--muted);
}

.hero-list {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.94rem;
    color: var(--muted);
}

.hero-list svg {
    flex-shrink: 0;
    color: var(--success);
}

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

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 0;
}

.service-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    overflow-wrap: anywhere;
}

/* Packs */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pack-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pack-card.featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-lg);
}

.pack-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.pack-name {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.pack-tagline {
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 12px;
}

.pack-price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

.pack-price small {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
}

.pack-yearly {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.74rem;
    color: var(--success);
    background: rgba(47, 125, 91, 0.1);
    padding: 3px 9px;
    border-radius: 999px;
}

.pack-features {
    list-style: none;
    margin: 14px 0;
    padding: 0;
    display: grid;
    gap: 7px;
    flex: 1;
    align-content: start;
}

.pack-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--muted);
}

.pack-features svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--success);
}

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

.step {
    text-align: center;
    padding: 12px;
}

.step-num {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.step h3 {
    font-size: 1.1rem;
}

.step p {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 0;
}

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

.testimonial {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.testimonial p {
    font-size: 0.96rem;
    color: var(--ink);
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
}

.stars {
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* FAQ */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 4px 22px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--muted);
    font-size: 0.94rem;
    padding-bottom: 16px;
    margin: 0;
}

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.form-intro h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.form-intro p {
    color: rgba(255, 255, 255, 0.82);
}

.form-contact-list {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.form-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-card {
    background: var(--surface);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 138, 60, 0.18);
}

.field textarea {
    resize: vertical;
    min-height: 96px;
}

.field-error {
    color: #b23a3a;
    font-size: 0.8rem;
    margin-top: 6px;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.form-privacy {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 14px;
    text-align: center;
}

.form-alert {
    background: rgba(47, 125, 91, 0.12);
    color: var(--success);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    transition: transform 0.18s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
}

/* Footer */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 56px 0 28px;
}

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

.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.site-footer a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.84rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* Thanks page */
.thanks-wrap {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
}

.thanks-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(47, 125, 91, 0.14);
    color: var(--success);
    display: grid;
    place-items: center;
}

.thanks-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}

/* Cafés directory */
.restaurant-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.restaurant-filters input,
.restaurant-filters select {
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--surface);
    min-width: 170px;
}

.restaurant-filters input[type="text"] {
    flex: 1 1 260px;
}

.restaurant-count {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.restaurant-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.restaurant-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    overflow: hidden;
}

.restaurant-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2.6rem;
}

.restaurant-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 11px;
    border-radius: 999px;
}

.restaurant-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.restaurant-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.restaurant-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.restaurant-name {
    font-size: 1.2rem;
    margin: 0;
}

.restaurant-name a:hover {
    color: var(--brand);
}

.restaurant-meta {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 4px 0 0;
}

.restaurant-tagline {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    flex: 1;
}

/* Café detail */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.restaurant-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1.5px solid var(--line);
    margin-bottom: 28px;
}

.restaurant-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.restaurant-cover-placeholder {
    height: 180px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    background: var(--surface-2);
}

.restaurant-hero-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
}

.restaurant-hero-info .restaurant-logo {
    width: 68px;
    height: 68px;
}

.restaurant-hero-info h1 {
    margin: 0;
    font-size: 1.9rem;
}

.restaurant-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.restaurant-detail-main,
.restaurant-detail-side {
    min-width: 0;
}

.restaurant-info-block {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 20px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.restaurant-info-block .btn-block {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    height: auto;
}

.restaurant-info-block h2 {
    font-size: 1.1rem;
    margin-top: 0;
}

.restaurant-hours {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.9rem;
}

.restaurant-hours th,
.restaurant-hours td {
    text-align: start;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.restaurant-hours th {
    width: 46%;
    color: var(--muted);
    font-weight: 500;
}

.restaurant-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.restaurant-gallery a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.restaurant-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
}

.restaurant-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 0.92rem;
}

.restaurant-contact-list a {
    color: var(--brand);
    overflow-wrap: anywhere;
}

.restaurant-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--surface-2);
    color: var(--brand-dark);
}

.pager {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pager-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--surface);
}

.pager-item.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pager-item.disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Lightbox */
[data-lightbox] {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 10, 7, 0.92);
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 84vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
    top: 18px;
    inset-inline-end: 18px;
}

.lightbox-prev {
    top: 50%;
    inset-inline-start: 18px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    inset-inline-end: 18px;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

/* Editable page content */.prose {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-top: 20px;
}

.prose h2 {
    font-size: 1.5rem;
    margin-top: 1.6em;
}

.prose h3 {
    font-size: 1.2rem;
    margin-top: 1.4em;
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1em;
    color: var(--muted);
}

.prose ul,
.prose ol {
    padding-inline-start: 1.4em;
}

.prose li {
    margin-bottom: 0.4em;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.prose img {
    border-radius: var(--radius);
    margin: 1em 0;
}

.prose blockquote {
    border-inline-start: 4px solid var(--accent);
    padding-inline-start: 16px;
    color: var(--muted);
    font-style: italic;
}

@media (max-width: 960px) {
    .restaurant-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .restaurant-cover {
        height: 220px;
    }
}

/* RTL */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .thanks-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-item summary::after {
    order: -1;
}

/* Responsive */
@media (max-width: 960px) {
    .nav {
        gap: 10px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .lang-switch a {
        padding: 4px 7px;
        font-size: 0.72rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 16px 20px 22px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 8px 0;
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    .hero-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .services-grid,
    .packs-grid,
    .steps,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pack-card.featured {
        order: -1;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 60px 0;
    }

    .brand {
        font-size: 1.15rem;
    }

    .services-grid,
    .packs-grid,
    .steps,
    .testimonials-grid,
    .footer-grid,
    .form-row,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0 40px;
    }
}

/* ---- Digital menu (carte) ---- */
.menu-carte {
    padding-top: 28px;
    padding-bottom: 48px;
}

.menu-head {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.menu-head-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.menu-head-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
}

.menu-head-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.menu-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow);
}

.menu-head-cover + .menu-head-info .menu-logo {
    margin-top: -46px;
}

.menu-head-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-head-line h1,
.menu-head-line .menu-head-restaurant {
    margin: 0;
}

.menu-head-info h1 {
    margin: 0 0 4px;
    font-size: 1.5rem;
}

.menu-head-restaurant {
    margin: 0;
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 600;
}

.menu-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.menu-cat-head img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.menu-cat-head h2 {
    margin: 0;
    font-size: 1.5rem;
}

.menu-cat-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.menu-item {
    display: flex;
    gap: 14px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.menu-item-media {
    flex: 0 0 130px;
    overflow: hidden;
}

.menu-item-media.menu-item-media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.menu-item-media.menu-item-media--empty img {
    width: 58%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

.menu-item-media img {
    width: 100%;
    max-width: 130px;
    height: 100%;
    min-height: 130px;
    object-fit: cover;
}

.menu-item-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0;
    padding: 16px;
}

.menu-item-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.menu-item-head h3 {
    margin: 0;
    font-size: 1.1rem;
    overflow-wrap: anywhere;
}

.menu-item-price {
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
}

.menu-item-desc {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.menu-options {
    margin-top: 12px;
    border-top: 1px dashed var(--line);
    padding-top: 10px;
}

.menu-options-title {
    margin: 0 0 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.menu-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.menu-option input {
    accent-color: var(--brand);
}

.menu-option-delta {
    margin-inline-start: auto;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.menu-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
}

.menu-selection {
    position: fixed;
    inset-inline-end: 20px;
    bottom: 20px;
    width: 320px;
    max-height: 70vh;
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 60;
}

.menu-selection-head {
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-selection-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 0.88rem;
}

.menu-selection-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--line);
}

.menu-selection-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.menu-selection-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 900px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .menu-item-media {
        flex-basis: 96px;
    }

    .menu-item-media img {
        width: 100%;
        max-width: 96px;
        min-height: 96px;
    }

    .menu-selection {
        inset-inline: 12px;
        width: auto;
        bottom: 12px;
    }
}

/* ---- Cart ---- */
.menu-head-table {
    margin: 4px 0 0;
    font-weight: 600;
}

/* ---- Open orders banner ---- */
.menu-open-orders {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}

.menu-open-orders-title {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--ink);
}

.menu-open-orders-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-open-orders-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.menu-open-orders-ref {
    font-weight: 700;
    color: var(--brand-dark);
}

.menu-open-orders-status {
    font-size: .85rem;
    color: var(--muted);
}

.menu-open-orders-btn {
    margin-inline-start: auto;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
}

.menu-open-orders-btn:hover {
    background: var(--brand-dark);
}

.menu-item-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.menu-qty-input {
    width: 64px;
    height: 38px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    text-align: center;
}

.menu-qty-input::-webkit-outer-spin-button,
.menu-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.menu-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.15s ease;
}

.menu-add-btn:hover {
    background: var(--brand-dark);
}

.menu-carte-page .btn {
    border-radius: 6px;
}

.cart-panel {
    position: fixed;
    z-index: 80;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -18px 50px rgba(43, 29, 22, 0.25);
}

.cart-panel[hidden] {
    display: none;
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
}

.cart-close {
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}

.cart-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.cart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cart-line-name {
    font-weight: 600;
}

.cart-line-options {
    font-size: 0.82rem;
    color: var(--muted);
}

.cart-line-price {
    font-size: 0.85rem;
    color: var(--brand);
    font-weight: 600;
}

.cart-line-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cart-line-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-2);
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--ink);
}

.cart-line-qty {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
}

.cart-line-remove {
    border-color: transparent !important;
    background: transparent !important;
    color: var(--muted) !important;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
}

.cart-panel textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: .95rem;
    resize: vertical;
}

.cart-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-delivery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-delivery label {
    margin-bottom: -6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
}

.cart-delivery select,
.cart-delivery input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: .95rem;
}

.cart-delivery-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-step[hidden],
.cart-delivery-fields[hidden] {
    display: none;
}

.cart-step-title {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 1rem;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
}

@media (min-width: 768px) {
    .cart-panel {
        inset-inline: auto;
        inset-inline-end: 24px;
        bottom: 90px;
        width: 440px;
        max-height: 78vh;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
    }
}

@media (min-width: 1200px) {
    .cart-panel {
        width: 500px;
    }
}

/* ---- Menu public : barre familles + panier (style terminal) ---- */
.menu-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 260px;
    max-width: 380px;
}

.menu-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.15s ease;
}

.menu-cart-button:hover {
    background: var(--brand-dark);
}

.menu-cart-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: 0.8rem;
}

.menu-currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}

.menu-currency-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.menu-currency select {
    border: none;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.menu-picker {
    position: relative;
    width: 100%;
}

.menu-picker > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 22px;
    border-radius: 6px;
    border: 1px solid var(--brand);
    background: var(--surface);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.9rem;
}

.menu-picker > summary::-webkit-details-marker {
    display: none;
}

.menu-picker > summary::after {
    content: '▾';
    font-size: 0.7rem;
}

.menu-picker[open] > summary::after {
    content: '▴';
}

.menu-picker .menu-pills {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

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

.menu-pill {
    padding: 7px 16px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.menu-pill:hover {
    border-color: var(--brand);
}

.menu-pill.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.menu-pills-sep {
    flex-basis: 100%;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.menu-pills-sep:first-child {
    padding-top: 0;
    border-top: 0;
}

.menu-family-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 10px;
    color: var(--brand);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.menu-family-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.menu-family[hidden],
.menu-family-separator[hidden] {
    display: none;
}

.menu-carte-page .cart-panel {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-carte-page .cart-panel.is-open {
    opacity: 1;
    transform: translateY(0);
}

/* Positions des actions de pack */
.pack-actions {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}

.pack-actions .btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pack-actions .btn-outline:first-child {
    border-color: var(--accent);
    color: var(--brand-dark);
    font-weight: 600;
}

/* Modale d'essai gratuit (pop-up centrée) */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-modal[hidden] {
    display: none;
}

.demo-modal-open {
    overflow: hidden;
}

.demo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 29, 22, 0.6);
    backdrop-filter: blur(4px);
    animation: demoFadeIn 0.2s ease;
}

.demo-modal__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 34px 30px 28px;
    animation: demoPop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 20px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.demo-modal__close:hover {
    background: var(--accent-soft);
    color: var(--brand-dark);
}

.demo-modal__panel h3 {
    margin: 8px 0 4px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.demo-modal__panel .field {
    margin-bottom: 14px;
}

.demo-modal__pack {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--brand-dark);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin: 6px 0 16px;
}

.demo-modal__note {
    font-size: 13px;
    margin: 16px 0 0;
    text-align: center;
}

/* Sélecteur de cartes à inclure dans la démo */
.template-picker__hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 8px;
}

.template-picker {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.field .template-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding: 10px 13px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field .template-option:hover {
    border-color: var(--accent);
}

.template-option input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background-color: var(--surface);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    flex: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.template-option input[type="checkbox"]:hover {
    border-color: var(--accent);
}

.template-option input[type="checkbox"]:checked {
    border-color: var(--accent);
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.template-option input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 138, 60, 0.25);
}

.template-option__name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.template-option__meta {
    font-size: 0.76rem;
    color: var(--muted);
    white-space: nowrap;
}

.field .template-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(201, 138, 60, 0.09);
    box-shadow: 0 0 0 3px rgba(201, 138, 60, 0.16);
}

@keyframes demoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes demoPop {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
    .demo-modal {
        padding: 12px;
    }

    .demo-modal__panel {
        padding: 28px 20px 22px;
    }
}

/* Carte en consultation seule (commande désactivée) */
.menu-carte-page.menu-no-order .menu-cart-button,
.menu-carte-page.menu-no-order .menu-item-foot,
.menu-carte-page.menu-no-order .cart-panel {
    display: none !important;
}

.menu-order-note {
    max-width: var(--maxw);
    margin: 0 auto 18px;
    padding: 12px 16px;
    background: var(--accent-soft);
    color: var(--brand-dark);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

/* Confirmation de commande : suivi par QR */
.tracking-pop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(43, 29, 22, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.tracking-pop[hidden] {
    display: none !important;
}

.tracking-pop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.tracking-pop-box {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    transform: translateY(16px) scale(.96);
    transition: transform .26s cubic-bezier(.2, .9, .3, 1.2);
}

.tracking-pop.is-open .tracking-pop-box {
    transform: translateY(0) scale(1);
}

.tracking-pop-close {
    position: absolute;
    top: 8px;
    inset-inline-end: 12px;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    color: #6f5b50;
    cursor: pointer;
}

.tracking-pop-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 4px;
}

.tracking-pop-ref {
    margin: 0 0 14px;
    letter-spacing: .05em;
    color: var(--brand, #6f4e37);
    font-weight: 600;
}

.tracking-pop-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.tracking-pop-qr img,
.tracking-pop-qr canvas {
    border-radius: 10px;
}

.tracking-pop-hint {
    color: #6f5b50;
    font-size: .85rem;
    margin: 0 0 14px;
}

/* Découverte guidée : popup des catégories + bouton panier */
.menu-picker.is-intro > summary {
    animation: menu-toolbar-pop 1s ease 2;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, .18), var(--shadow);
}

.menu-picker.is-intro[open] .menu-pills {
    animation: menu-pills-in .38s cubic-bezier(.2, .9, .3, 1.15);
    transform-origin: top center;
}

.menu-cart-button.is-hinting {
    animation: menu-cart-pulse 1.4s ease infinite;
}

@keyframes menu-pills-in {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes menu-toolbar-pop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes menu-cart-pulse {
    0%, 100% { box-shadow: var(--shadow); transform: scale(1); }
    50% { box-shadow: 0 0 0 6px rgba(111, 78, 55, .18); transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .menu-picker.is-intro > summary,
    .menu-picker.is-intro[open] .menu-pills,
    .menu-cart-button.is-hinting {
        animation: none;
    }
}

/* Restaurant reviews */
.flash-banner {
    background: #eef7ef;
    border: 1.5px solid #2e7d4f;
    color: #2e7d4f;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-weight: 600;
    margin: 0 0 22px;
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px;
}

.reviews-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    text-align: center;
}

.reviews-score-value {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
}

.reviews-score-max {
    color: var(--muted);
    font-size: 0.9rem;
}

.reviews-score-count {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
}

.reviews-axes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px 24px;
    flex: 1;
}

.reviews-axes li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
}

.reviews-axes-value {
    font-weight: 600;
}

.review-list {
    display: grid;
    gap: 14px;
}

.review-card {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.restaurant-info-block .review-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
}

.restaurant-info-block .review-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.review-author {
    font-weight: 600;
    color: var(--text);
}

.review-stars {
    color: #f5a623;
    letter-spacing: 1px;
}

.review-body {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ---------- Reservation planner ---------- */
.resv-section {
    padding: 36px 0 64px;
}
.resv-wrap {
    max-width: 860px;
}
.resv-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}
.resv-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
}
.resv-hero-body {
    position: relative;
    padding: 30px 28px;
}
.resv-eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0.85;
}
.resv-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.15;
}
.resv-sub {
    margin: 8px 0 0;
    opacity: 0.92;
    max-width: 46ch;
}
.resv-flash {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #e6f4ec;
    color: #1f6b4a;
    border: 1px solid #bfe3d0;
}
.resv-flash.is-error {
    background: #fdeaea;
    color: #a33a3a;
    border-color: #f3c9c9;
}
.resv-planner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 24px 24px;
}
.resv-step {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.resv-step:last-of-type {
    border-bottom: 0;
}
.resv-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.resv-step-head h2 {
    margin: 0;
    font-size: 1.05rem;
}
.resv-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.85rem;
    flex: none;
}

.resv-days {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}
.resv-day {
    scroll-snap-align: start;
    flex: none;
    min-width: 66px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
}
.resv-day:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}
.resv-day.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(111, 78, 55, 0.28);
}
.resv-day-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}
.resv-day-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.resv-stepper {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--surface-2);
    border-radius: 999px;
    padding: 6px 10px;
}
.resv-stepper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--brand-dark);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease;
}
.resv-stepper-btn:hover {
    transform: scale(1.08);
}
.resv-stepper-value {
    min-width: 32px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.resv-timeline {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px 12px 12px;
}
.resv-ruler {
    position: relative;
    height: 22px;
}
.resv-tick {
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--line);
}
.resv-tick-label {
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 0.66rem;
    color: var(--muted);
    white-space: nowrap;
}
.resv-track {
    position: relative;
    height: 66px;
    margin-top: 6px;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, rgba(111, 78, 55, 0.03) 0 8px, transparent 8px 16px), #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}
.resv-grid-line {
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(111, 78, 55, 0.08);
}
.resv-block-buffer {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 10px;
    background: repeating-linear-gradient(45deg, rgba(201, 138, 60, 0.28) 0 6px, rgba(201, 138, 60, 0.12) 6px 12px);
}
.resv-block {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, #b9744a, #8f5334);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(143, 83, 52, 0.3);
}
.resv-block-label {
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 6px;
}
.resv-block-preview {
    position: absolute;
    top: 6px;
    bottom: 6px;
    border-radius: 8px;
    background: repeating-linear-gradient(45deg, rgba(31, 107, 74, 0.4) 0 8px, rgba(31, 107, 74, 0.22) 8px 16px);
    border: 2px dashed #1f6b4a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 6px 16px rgba(31, 107, 74, 0.25);
}
.resv-block-preview .resv-block-label {
    color: #14532d;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    line-height: 1.15;
    padding: 0 3px;
    font-size: 0.68rem;
}
.resv-block-preview-buffer {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 8px;
    background: repeating-linear-gradient(45deg, rgba(201, 138, 60, 0.42) 0 6px, rgba(201, 138, 60, 0.18) 6px 12px);
    border: 2px dashed #c98a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 4;
}
.resv-block-preview-buffer .resv-block-label {
    color: #8a5a1a;
}
.resv-feedback {
    margin: 0 0 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}
.resv-feedback.is-ok {
    background: #e6f4ec;
    color: #1f6b4a;
    border: 1px solid #bfe3d0;
}
.resv-feedback.is-error {
    background: #fdeaea;
    color: #a33a3a;
    border: 1px solid #f3c9c9;
}
.resv-feedback[hidden] {
    display: none;
}
.resv-simulation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0 0 12px;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(201, 138, 60, 0.08);
    border: 1px solid rgba(201, 138, 60, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
}
.resv-simulation[hidden] {
    display: none;
}
.resv-simulation strong {
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.72rem;
}
.resv-sim-duration {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(201, 138, 60, 0.16);
    color: #8a5a1a;
    font-size: 0.8rem;
}
.resv-rooms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.resv-rooms-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-right: 4px;
}
.resv-room {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.16s ease;
}
.resv-room:hover {
    border-color: var(--accent);
}
.resv-room.is-active {
    background: linear-gradient(180deg, #7c5a3f, var(--brand));
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(111, 78, 55, 0.28);
}
.resv-notice {
    margin: 10px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdeaea;
    color: #a33a3a;
    border: 1px solid #f3c9c9;
    font-size: 0.88rem;
}
.resv-notice[hidden] {
    display: none;
}
.resv-timeline-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--muted);
}
.resv-leg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.resv-leg-swatch {
    width: 16px;
    height: 12px;
    border-radius: 4px;
    display: inline-block;
}
.resv-leg-swatch.is-free {
    background: var(--surface);
    border: 1px solid var(--line);
}
.resv-leg-swatch.is-booked {
    background: linear-gradient(180deg, #b9744a, #8f5334);
}
.resv-leg-swatch.is-cleaning {
    background: repeating-linear-gradient(45deg, rgba(201, 138, 60, 0.4) 0 5px, rgba(201, 138, 60, 0.15) 5px 10px);
}

.resv-slot-rail {
    position: relative;
    height: 84px;
    margin-top: 12px;
}
.resv-slot {
    position: absolute;
    top: 12px;
    width: var(--resv-slot-width, 104px);
    transform: translateX(-50%);
    padding: 10px 4px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: all 0.18s ease;
}
.resv-slot:hover:not(:disabled) {
    border-color: var(--accent);
    transform: translate(-50%, -2px);
    box-shadow: var(--shadow);
}
.resv-slot.is-selected {
    background: linear-gradient(180deg, #7c5a3f, var(--brand));
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(111, 78, 55, 0.35);
    transform: translate(-50%, -2px);
}
.resv-slot.is-low .resv-slot-meta {
    color: var(--accent);
}
.resv-slot.is-selected .resv-slot-meta {
    color: rgba(255, 255, 255, 0.85);
}
.resv-slot.is-full {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--surface-2);
}
.resv-slot.is-past {
    opacity: 0.35;
    cursor: not-allowed;
    background: var(--surface-2);
    border-style: dashed;
}
.resv-slot.is-past .resv-slot-time {
    text-decoration: line-through;
}
.resv-slot-time {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1.2;
}
.resv-slot-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.64rem;
    line-height: 1.25;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.resv-empty {
    color: var(--muted);
    margin: 0;
    padding: 8px 0;
}

.resv-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.resv-inline-label {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.resv-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.resv-treatments-field {
    grid-column: 1 / -1;
}
.resv-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}
.resv-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.resv-category-pill:hover {
    border-color: var(--accent);
}
.resv-category-pill[hidden] {
    display: none;
}
.resv-category-pill.is-active {
    border-color: var(--brand);
    background: var(--accent-soft);
    color: var(--brand-dark);
}
.resv-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(111, 78, 55, 0.08);
    font-size: 0.7rem;
    font-weight: 700;
}
.resv-treatments {
    display: block;
    min-width: 0;
}
.resv-treatment-group.is-hidden,
.resv-treatment-group.is-category-hidden {
    display: none;
}
.resv-treatments-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 6px;
    table-layout: fixed;
}
.resv-treatments-table .resv-col-check {
    width: 40px;
}
.resv-treatments-table .resv-col-image {
    width: 60px;
}
.resv-treatments-table .resv-col-info {
    width: auto;
}
.resv-treatment-category {
    margin: 0;
    padding: 8px 4px 5px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.resv-treatment td {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    vertical-align: middle;
    transition: border-color 0.16s ease, background 0.16s ease;
}
.resv-treatment td:first-child {
    width: auto;
    min-width: 38px;
    padding-block: 10px;
    padding-inline: 12px 8px;
    border-inline-start: 1px solid var(--line);
    border-start-start-radius: 10px;
    border-end-start-radius: 10px;
    text-align: start;
    white-space: nowrap;
}
.resv-treatment td:nth-child(2) {
    width: auto;
    min-width: 56px;
    padding-block: 10px;
    padding-inline: 0 8px;
    text-align: start;
    white-space: nowrap;
}
.resv-treatment td:last-child {
    width: 100%;
    border-inline-end: 1px solid var(--line);
    border-start-end-radius: 10px;
    border-end-end-radius: 10px;
    text-align: start;
}
.resv-treatment:hover td {
    border-color: var(--accent);
}
.resv-treatment:has(.resv-switch:checked) td {
    border-color: var(--brand);
    background: var(--accent-soft);
}
.resv-treatment:focus-within td {
    border-color: var(--accent);
}
.resv-treatment.is-hidden {
    display: none;
}
.resv-treatment-image img {
    display: block;
    width: 48px;
    height: 48px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-2);
}
.resv-treatment-info label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
}
.resv-treatment-info strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.resv-treatment-meta {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
}
.resv-switch {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--brand);
}
.resv-switch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.resv-treatment-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px dashed var(--line);
    font-size: 0.9rem;
}
.resv-treatment-total strong {
    color: var(--brand-dark);
}
.resv-step[data-reservation-step] {
    display: none;
}
.resv-step[data-reservation-step].is-active {
    display: block;
}
.resv-fields > .practitioner-preview {
    grid-column: 1 / -1;
}
.resv-wizard-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
}
.resv-wizard-nav [hidden] {
    display: none !important;
}
.resv-wizard-progress {
    margin-right: auto;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
}
.resv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
}
.resv-submit {
    padding: 14px 30px;
    font-size: 1rem;
}
.resv-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 640px) {
    .resv-planner {
        padding: 4px 16px 18px;
    }
    .resv-block-label {
        font-size: 0.66rem;
    }
    .resv-treatment td {
        padding: 9px 10px;
    }
    .resv-treatment td:first-child {
        padding-block: 9px;
        padding-inline: 10px 8px;
    }
    .resv-treatment td:nth-child(2) {
        padding-block: 9px;
        padding-inline: 0 8px;
        text-align: start;
    }
    .resv-treatment-info strong {
        font-size: 0.86rem;
    }
    .resv-category-pill {
        padding: 6px 10px;
        font-size: 0.76rem;
    }
}

.resv-value {
    margin: 2px 0 0;
    font-weight: 600;
    font-size: 1.02rem;
}
.resv-status-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--surface-2);
    color: var(--muted);
}
.resv-status-pending { background: #fff0d6; color: #a5711a; }
.resv-status-confirmed { background: #dcf3e7; color: #1f6b4a; }
.resv-status-seated { background: #e3ecff; color: #2b4fa8; }
.resv-status-completed { background: #ece4dc; color: #6f4e37; }
.resv-status-cancelled { background: #fbe0e0; color: #a33a3a; }
.resv-status-no_show { background: #f3e0e0; color: #8a3a3a; }

/* ---------- Reservation duration potentiometer & calendar ---------- */
.resv-pot {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px 12px;
}
.resv-pot-value {
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.resv-pot-value strong {
    font-size: 1.5rem;
    color: var(--brand-dark);
    margin-right: 2px;
}
.resv-pot-minutes {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.95rem;
    color: var(--muted);
}
.resv-pot-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    outline: none;
    cursor: pointer;
}
.resv-pot-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.35);
    cursor: grab;
}
.resv-pot-range::-webkit-slider-thumb:active {
    cursor: grabbing;
}
.resv-pot-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.35);
    cursor: grab;
}
.resv-pot-range:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.resv-pot-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.76rem;
    color: var(--muted);
}
.resv-calendar {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px;
    background: var(--surface);
}
.resv-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.resv-cal-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--brand-dark);
    transition: all 0.15s ease;
}
.resv-cal-nav:hover:not(:disabled) {
    border-color: var(--accent);
}
.resv-cal-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.resv-cal-title {
    font-weight: 700;
    text-transform: capitalize;
}
.resv-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}
.resv-cal-weekday {
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.resv-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.resv-cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--surface-2);
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.15s ease;
}
.resv-cal-cell.is-empty {
    background: transparent;
    cursor: default;
}
.resv-cal-cell:not(.is-disabled):not(.is-empty):hover {
    border-color: var(--accent);
}
.resv-cal-cell.is-today {
    border-color: var(--accent);
}
.resv-cal-cell.is-active {
    background: linear-gradient(180deg, #7c5a3f, var(--brand));
    border-color: var(--brand);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(111, 78, 55, 0.28);
}
.resv-cal-cell.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---------- Scrollable booking timeline (mobile) ---------- */
.resv-timeline-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.resv-timeline-inner {
    position: relative;
    min-width: 100%;
}

@media (max-width: 640px) {
    .resv-cal-cell {
        font-size: 0.82rem;
    }
}

/* ---------- Booking : libellé préparation multiligne + créneaux mobile ---------- */
.resv-block-preview-buffer .resv-block-label {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    line-height: 1.15;
    padding: 0 3px;
    font-size: 0.68rem;
}

@media (max-width: 640px) {
    .resv-timeline-scroll {
        overflow-x: visible;
        overflow-y: visible;
    }

    .resv-timeline:not(.is-timeline) .resv-timeline-inner {
        width: 100% !important;
        min-width: 0 !important;
    }

    .resv-ruler,
    .resv-track {
        display: none;
    }

    .resv-slot-rail {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        height: auto;
        margin-top: 4px;
    }

    .resv-slot {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        transform: none !important;
        padding: 10px 6px;
    }

    .resv-slot:hover:not(:disabled),
    .resv-slot.is-selected {
        transform: none !important;
    }

    .resv-slot-time {
        font-size: 0.9rem;
    }

    .resv-slot-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .resv-block-preview-buffer .resv-block-label {
        font-size: 0.62rem;
    }
}

@media (max-width: 380px) {
    .resv-slot-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Aperçu praticienne (réservation) ---------- */
.practitioner-preview {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
}
.practitioner-preview[hidden] {
    display: none;
}
.practitioner-preview-photo {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #c98a3c, #8f5334);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}
.practitioner-preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.practitioner-preview-body {
    min-width: 0;
}
.practitioner-preview-body p {
    margin: 4px 0 0;
}
.practitioner-preview-meta {
    font-weight: 600;
    font-size: 0.88rem;
}
.practitioner-preview-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.practitioner-preview-specialties:empty {
    display: none;
}

.resv-view-toggle {
    display: none;
}

@media (max-width: 640px) {
    .resv-view-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0 0 12px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: var(--surface);
        font: inherit;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
    }

    .resv-timeline.is-timeline .resv-timeline-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .resv-timeline.is-timeline .resv-ruler,
    .resv-timeline.is-timeline .resv-track {
        display: block;
    }

    .resv-timeline.is-timeline .resv-slot-rail {
        display: block;
        position: relative;
        height: 84px;
        margin-top: 12px;
    }

    .resv-timeline.is-timeline .resv-slot {
        position: absolute !important;
        top: 12px !important;
        width: var(--resv-slot-width, 104px) !important;
        transform: translateX(-50%) !important;
        padding: 10px 4px;
    }

    .resv-timeline.is-timeline .resv-slot:hover:not(:disabled) {
        transform: translate(-50%, -2px) !important;
    }

    .resv-timeline.is-timeline .resv-slot.is-selected {
        transform: translate(-50%, -2px) !important;
    }

    .resv-timeline.is-timeline .resv-slot-meta {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Discover page (all centres) */
.discover-header {
    background: linear-gradient(120deg, rgba(255, 252, 248, 0.98), rgba(250, 240, 245, 0.96));
    border-bottom: 1px solid var(--line);
}

.discover-header .discover-brand {
    color: var(--brand-dark);
}

.discover-hero {
    padding: 64px 0 44px;
    background:
        radial-gradient(circle at 12% 20%, rgba(214, 168, 120, 0.22), transparent 45%),
        radial-gradient(circle at 88% 0%, rgba(186, 120, 142, 0.22), transparent 50%),
        linear-gradient(150deg, #fffaf5 0%, #fdf1f4 55%, #f7eee7 100%);
    border-bottom: 1px solid var(--line);
}

.discover-hero .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.discover-hero h1 {
    max-width: 780px;
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    color: var(--brand-dark);
}

.discover-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.discover-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.discover-highlights span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.discover-section {
    background: #fbf7f2;
}

.discover-filters {
    margin-top: 0;
}

.discover-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 22px;
}

.discover-toolbar .restaurant-count {
    margin: 0;
}

.discover-list {
    display: grid;
    gap: 22px;
}

.discover-card {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(84, 48, 32, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.discover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(84, 48, 32, 0.1);
}

.discover-card-media {
    position: relative;
    min-height: 280px;
    background: linear-gradient(140deg, #f2e2d5, #ecd6df);
    overflow: hidden;
}

.discover-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discover-card-media .restaurant-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.discover-card-body {
    padding: 24px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.discover-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.discover-card-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.discover-card-title .restaurant-name {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.discover-rating {
    margin: 6px 0 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #b07a17;
}

.discover-rating .muted {
    font-weight: 500;
}

.discover-price {
    flex-shrink: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f6efe7;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.discover-description {
    margin: 0;
    color: #5a514b;
    line-height: 1.65;
    white-space: pre-line;
}

.discover-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fcf8f4;
    border: 1px solid rgba(214, 168, 120, 0.22);
}

.discover-facts > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.discover-facts span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.discover-facts strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand-dark);
    overflow-wrap: anywhere;
}

.discover-hours {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    background: #fff;
}

.discover-hours summary {
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-dark);
    list-style: none;
}

.discover-hours summary::-webkit-details-marker {
    display: none;
}

.discover-hours summary::before {
    content: '▸';
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.15s ease;
}

.discover-hours[open] summary::before {
    transform: rotate(90deg);
}

.discover-hours .restaurant-hours {
    margin-top: 10px;
    width: 100%;
}

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

.discover-gallery a {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f2e2d5;
}

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

.discover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.discover-actions .btn {
    white-space: nowrap;
}

.discover-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 4px;
    font-size: 0.84rem;
}

.discover-contact a {
    color: var(--muted);
    font-weight: 500;
}

.discover-contact a:hover {
    color: var(--brand);
}

.discover-footer {
    background: linear-gradient(140deg, #2d2521, #3c2a30);
    color: rgba(255, 255, 255, 0.78);
}

.discover-footer h4 {
    color: #fff;
}

.discover-footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
}

.discover-footer .footer-links a:hover {
    color: #fff;
}

.discover-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
}

.discover-footer-grid p {
    max-width: 340px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .discover-card {
        grid-template-columns: 1fr;
    }

    .discover-card-media {
        min-height: 220px;
        max-height: 260px;
    }

    .discover-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .discover-hero {
        padding: 42px 0 32px;
    }

    .discover-card-body {
        padding: 18px;
    }

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

    .discover-header .discover-header-link {
        display: none;
    }
}

.discover-brand-hero {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discover-brand-logo {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(84, 48, 32, 0.12);
    flex-shrink: 0;
}

.discover-header-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .discover-brand-hero {
        gap: 14px;
    }

    .discover-brand-logo {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }
}

/* ---------- Mobile : fiche centre + réservation ---------- */
@media (max-width: 640px) {
    /* Fiche centre */
    .restaurant-hero-info {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .restaurant-info-block {
        padding: 18px;
    }

    .restaurant-info-block p,
    .restaurant-info-block li,
    .restaurant-info-block a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .restaurant-contact-list {
        gap: 8px;
        font-size: 0.9rem;
    }

    .restaurant-info-block .btn-block {
        padding-inline: 18px;
    }

    .reviews-summary {
        gap: 14px;
    }

    .reviews-score {
        min-width: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 6px;
        text-align: start;
    }

    .reviews-score-count {
        margin-top: 0;
        flex-basis: 100%;
    }

    .reviews-axes {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    /* Réservation */
    .resv-planner {
        min-width: 0;
    }

    .resv-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .resv-treatments-field,
    .resv-treatments {
        min-width: 0;
    }

    .resv-treatments-table {
        table-layout: fixed;
        width: 100%;
    }

    .resv-treatment td {
        padding: 8px 6px;
    }

    .resv-treatment td:first-child {
        min-width: 0;
        padding: 8px;
    }

    .resv-treatment td:nth-child(2) {
        min-width: 0;
        padding-block: 8px;
        padding-inline: 0 6px;
    }

    .resv-treatment td:last-child {
        min-width: 0;
        padding-block: 8px;
        padding-inline: 0;
    }

    .resv-treatment-info strong {
        font-size: 0.84rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .resv-treatment-meta {
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    .resv-treatment-category {
        padding-inline: 4px;
        overflow-wrap: anywhere;
    }

    .resv-treatment-total {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }

    /* Le planning (timeline) est masqué sur mobile : seuls les créneaux restent. */
    .resv-view-toggle {
        display: none !important;
    }

    .resv-timeline .resv-ruler,
    .resv-timeline .resv-track,
    .resv-timeline .resv-timeline-legend,
    .resv-timeline.is-timeline .resv-ruler,
    .resv-timeline.is-timeline .resv-track,
    .resv-timeline.is-timeline .resv-timeline-legend {
        display: none !important;
    }

    .resv-timeline.is-timeline .resv-slot-rail {
        display: grid;
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        height: auto;
        margin-top: 4px;
    }

    .resv-timeline.is-timeline .resv-slot {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        transform: none !important;
        padding: 10px 6px;
    }

    .resv-timeline.is-timeline .resv-slot:hover:not(:disabled),
    .resv-timeline.is-timeline .resv-slot.is-selected {
        transform: none !important;
    }

    .resv-timeline.is-timeline .resv-slot-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    /* Navigation du formulaire : précédent / suivant côte à côte. */
    .resv-wizard-nav {
        gap: 12px;
        align-items: stretch;
    }

    .resv-wizard-progress {
        order: -1;
        flex: 1 0 100%;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .resv-wizard-nav .btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        padding: 12px 16px;
        white-space: normal;
        line-height: 1.25;
    }

    .resv-wizard-nav .resv-wizard-final {
        flex-basis: 100%;
    }
}

@media (max-width: 380px) {
    .resv-timeline.is-timeline .resv-slot-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
