/* ==========================================================================
   NO TUSCANY — site header + booking bar for pages with their own CSS
   (the Mi Manda Duccio guide). Classes are prefixed "nt-" so they never
   clash with the page's own styles. Mirrors the header of css/home.css
   in a single row, so the guide's fixed elements (top: 80px) still fit.
   ========================================================================== */

.nt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a0a0a;
    border-bottom: 1px solid #1f1f1d;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

.nt-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px clamp(16px, 4vw, 48px);
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.nt-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    color: #F5F5F4;
    text-decoration: none;
    white-space: nowrap;
}

.nt-no { position: relative; display: inline-block; color: #DC2626; }

.nt-x {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 3px;
    margin-top: -1.5px;
    background: #10B981;
    border-radius: 2px;
}
.nt-x1 { transform: rotate(45deg); }
.nt-x2 { transform: rotate(-45deg); }

.nt-nav {
    display: flex;
    gap: 24px;
    margin-left: 8px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.nt-nav a,
.nt-lang a {
    display: inline-block;
    padding: 12px 0;
    color: #D6D3D1;
    text-decoration: none;
}

.nt-nav a:hover,
.nt-lang a:hover { color: #34D399; }
.nt-nav a[aria-current="page"] { color: #34D399; }

.nt-lang {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #8A8580;
    white-space: nowrap;
}
.nt-lang a { padding: 12px 6px; }

.nt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: #10B981;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.nt-btn:hover { background: #34D399; }

.nt-header a:focus-visible,
.nt-book-bar a:focus-visible { outline: 3px solid #FCD34D; outline-offset: 3px; }

/* Booking bar: phones only (on desktop the header button does the job) */
.nt-book-bar { display: none; }

@media (max-width: 900px) {
    .nt-nav { display: none; }
    .nt-wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .nt-logo { font-size: 20px; }
    .nt-btn { padding: 0 12px; font-size: 13px; }

    .nt-book-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: flex;
        gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(10, 10, 10, .96);
        border-top: 1px solid #262624;
        box-sizing: border-box;
    }

    .nt-book-bar a {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: #10B981;
        color: #0a0a0a;
        font-family: 'DM Sans', system-ui, sans-serif;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    body { padding-bottom: 72px; }
}

/* "Same price + this guide is included" */
.nt-logo { display: inline-block; padding: 12px 0; }
.nt-header-note { font-size: 13px; color: #D6D3D1; max-width: 240px; line-height: 1.3; }
.nt-book-note { display: none; }
@media (max-width: 1100px) { .nt-header-note { display: none; } }
@media (max-width: 900px) {
    .nt-book-bar { flex-wrap: wrap; row-gap: 6px; }
    .nt-book-note {
        display: block;
        flex: 1 1 100%;
        margin: 0;
        font-family: 'DM Sans', system-ui, sans-serif;
        font-size: 13px;
        line-height: 1.3;
        text-align: center;
        color: #D6D3D1;
    }
    body { padding-bottom: 96px; }
}


/* Apartment strip (js/apt-strip.js) under the header: move the guide's own
   fixed buttons below it while it is shown. */
.nts-on .back-arrow,
.nts-on .saved-paths { top: calc(80px + var(--nts-h, 0px)); transition: top .25s ease; }
