/* ─── Reset ─────────────────────────────────────────────────────────────── */
#ncb * { box-sizing: border-box; padding: 0; }

/* ─── Widget root ────────────────────────────────────────────────────────── */
#ncb {
    position: relative;
    font-family: 'DM Sans', sans-serif;
    background: #f6f1e9;
    color: #10203a;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 520px;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.nh {
    padding: 24px 28px 14px !important;
    border-bottom: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.nh-eye { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #7c8ba7; margin-bottom: 5px; }
.nh-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: #10203a; }
.nh-right { text-align: right; }
.nh-from { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #7c8ba7; margin-bottom: 3px; }
.nh-price { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: #10203a; }
.nh-price span { font-size: 12px; color: rgba(29,43,65,0.65); }

/* ─── Step nav ───────────────────────────────────────────────────────────── */
/*
   Layout: one horizontal strip with three border lines:
   - top border on the .ns container
   - a middle border running through the vertical centre of the circles
   - bottom border on the .ns container

   We achieve the "middle line" by giving .ns a border-top (top line) and
   border-bottom (bottom line), and drawing the middle line as a pseudo-element
   that sits exactly at the vertical midpoint.  The circle (ns-num) uses
   position:relative + z-index so it sits on top of all three lines.
*/
.ns {
    display: flex;
    padding: 0 22px;
    border-top: 1px solid rgba(29,43,65,0.12);       /* top line */
    border-bottom: 1px solid rgba(29,43,65,0.12);    /* bottom line */
    background: transparent;
    position: relative;
}

/* Middle horizontal line — sits at vertical centre of the 86 px row */
.ns::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 35%;
    height: 1px;
    background: rgba(29,43,65,0.12);
    pointer-events: none;
}

/* Each step button — NO background highlight on the whole cell */
.ns-btn {
    flex: 1;
    padding: 14px 10px;
    color: #7c8ba7;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 86px;
    position: relative;
    background: transparent;   /* ← no background on the block */
}

/* Active step: only the circle gets the fill, not the whole cell */
.ns-btn.active { color: #10203a; background: transparent; }
.ns-btn.done   { color: #c2c9d6; background: transparent; }

/* The circle — sits above all three lines via z-index */
.ns-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 11px;
    line-height: 28px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: #f6f1e9;   /* matches widget bg so it "cuts through" the middle line */
}

/* Active circle: solid fill */
.ns-btn.active .ns-num {
    background: #1f3f83;
    border-color: #1f3f83;
    color: #ffffff;
}

/* Done circle */
.ns-btn.done .ns-num {
    background: #f6f1e9;
    color: #c2c9d6;
    border-color: #c2c9d6;
}

/* ─── Step panels ─────────────────────────────────────────────────────────── */
.np { display: none; background: transparent; padding: 24px 28px 26px !important; }
.np.active { display: block; }

/* ─── Labels ─────────────────────────────────────────────────────────────── */
.nl { font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #55657f; margin-bottom: 13px; display: block; }

/* ─── Display + text inputs ──────────────────────────────────────────────── */
.ni {
    width: 100%; background: #fff; border: 1px solid rgba(29,43,65,0.12);
    border-radius: 16px; padding: 14px 16px !important; color: #10203a;
    font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 300;
    outline: none; transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none; appearance: none;
}
.ni:focus { border-color: rgba(31,63,131,0.45); background: #fff; }

/* ─── Grid layouts ────────────────────────────────────────────────────────── */
.ng2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nfull { grid-column: 1 / -1; }
.nmb14 { margin-bottom: 14px; }
.nmb20 { margin-bottom: 20px; }

/* ─── Guest counter ───────────────────────────────────────────────────────── */
/*
   FIX: The +/- buttons weren't working because Webflow's global stylesheet
   sets  button { pointer-events: none }  or similar on embedded content, OR
   the .nc container had overflow:hidden clipping click targets.
   We explicitly restore pointer-events and ensure a proper stacking context.
*/
.nc {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(29,43,65,0.12);
    border-radius: 8px;
    overflow: visible;        /* ← was hidden, could clip buttons */
    position: relative;
    z-index: 1;
}
.nc-btn {
    background: none;
    border: none;
    color: #c8a96e;
    font-size: 17px;
    width: 36px;
    height: 40px;
    cursor: pointer !important;   /* ← force pointer cursor */
    pointer-events: auto !important;   /* ← force clickable */
    transition: background 0.15s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    user-select: none;
}
.nc-btn:hover { background: rgba(200,169,110,0.1); }
.nc-val {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #10203a;
    pointer-events: none;
}

/* ─── Info boxes ─────────────────────────────────────────────────────────── */
.nbox { background: #fff; border: 1px solid rgba(29,43,65,0.08); border-radius: 20px; padding: 18px 20px !important; margin-bottom: 18px; }
.nbox-alt { background: #fdf8f2; }
.nrow { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3.5px 0 !important; color: #475569; }
.nrow.tot { border-top: 1px solid rgba(29,43,65,0.08); margin-top: 10px; padding-top: 12px !important; color: #10203a; }
.nrow.tot .v { color: #1f3f83; font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 300; }
.nhi { color: #10203a; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.nb {
    width: 100%; padding: 14px 22px !important; background: #1f3f83; color: #fff;
    border: none; border-radius: 16px; font-family: 'DM Sans', sans-serif;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
    cursor: pointer; transition: background 0.2s;
    pointer-events: auto !important;
}
.nb:hover { background: #19346a; }
.nb:disabled { background: rgba(31,63,131,0.24); color: rgba(255,255,255,0.55); cursor: not-allowed; }
.nbg {
    width: 100%; padding: 12px 22px !important; background: #fff; color: #475569;
    border: 1px solid rgba(29,43,65,0.12); border-radius: 16px; font-family: 'DM Sans', sans-serif;
    font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
    margin-top: 8px; transition: color 0.2s;
    pointer-events: auto !important;
}
.nbg:hover { color: #10203a; }

/* ─── Status banners ─────────────────────────────────────────────────────── */
.nst { padding: 9px 12px !important; border-radius: 14px; font-size: 11.5px; margin-bottom: 13px; display: none; line-height: 1.5; }
.nst.err { background: rgba(254,227,230,0.8); border: 1px solid rgba(248,113,113,0.22); color: #9b2335; display: block; }
.nst.ok  { background: rgba(235,245,255,0.8); border: 1px solid rgba(31,63,131,0.16); color: #1f3f83; display: block; }
.nst.ld  { background: rgba(240,243,255,0.8); border: 1px solid rgba(31,63,131,0.16); color: #1f3f83; display: block; }

/* ─── Spinner ────────────────────────────────────────────────────────────── */
.spin { display: inline-block; width: 11px; height: 11px; border: 1.5px solid rgba(200,169,110,0.28); border-top-color: #c8a96e; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-right: 5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Stripe card element ────────────────────────────────────────────────── */
#nc-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(232,224,208,0.13); border-radius: 8px; padding: 12px 13px !important; margin-bottom: 5px; transition: border-color 0.2s; }
#nc-card.focused { border-color: rgba(200,169,110,0.45); }
#nc-card-err { color: #f09595; font-size: 11px; min-height: 16px; margin-bottom: 12px; }
.nlock { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10px; color: #7c8ba7; margin-top: 10px; }

/* ─── Confirmation step ──────────────────────────────────────────────────── */
.ncheck { width: 44px; height: 44px; border-radius: 50%; background: #eef2ff; border: 1px solid rgba(31,63,131,0.16); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px; color: #1f3f83; }
.nctitle { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: #10203a; }
.ncref { font-size: 9.5px; letter-spacing: 2px; color: #7c8ba7; margin-top: 6px; }
.ncard-center { text-align: center; margin-bottom: 22px; }
.ndiv { height: 0.5px; background: rgba(232,224,208,0.07); margin: 16px 0; }
.nnote { font-size: 9.5px; color: rgba(29,43,65,0.38); text-align: center; margin-top: 13px; margin-bottom: 20px; }
.gnote { font-size: 9.5px; color: rgba(29,43,65,0.38); text-align: left; margin-top: 13px; margin-bottom: 20px; }

/* ─── Calendar ───────────────────────────────────────────────────────────── */
.ncc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ncc-month { flex: 1; text-align: center; font-size: 16px; letter-spacing: 0.5px; color: #10203a; }
.ncc-nav {
    width: 38px; height: 38px; border-radius: 14px; background: #fff;
    color: #10203a; border: 1px solid rgba(29,43,65,0.12);
    cursor: pointer !important; pointer-events: auto !important;
}
.ncc-status { min-height: 44px; padding: 12px 14px !important; border-radius: 18px; border: 1px solid rgba(29,43,65,0.08); background: #fff; color: #475569; margin-bottom: 16px; font-size: 13px; line-height: 1.4; }

/* Calendar grid — 7 columns, weekday header row + day cells */
.ncc-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    background: #fff;
    border-radius: 24px;
    padding: 12px;
    border: 1px solid rgba(29,43,65,0.08);
}

/* Weekday header cells (MA DI WO …) — injected by renderMonth() */
.ncc-dow {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7c8ba7;
    text-align: center;
    padding: 4px 0 8px;
    font-family: 'DM Sans', sans-serif;
}

/* Day cells — centered number, consistent height */
.ncc-day {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #fff;
    color: #10203a;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
}
.ncc-day.empty { background: transparent; border-color: transparent; cursor: default; }
.ncc-day.today { border: 1px solid rgba(31,63,131,0.2); }
.ncc-day.avail:hover { background: #eef3ff; }

/* FIX: blocked dates — same muted style as past, no red */
.ncc-day.blocked { color: #cbd5e1; background: transparent; cursor: default; }
.ncc-day.past    { color: #cbd5e1; background: transparent; cursor: default; }

.ncc-day.checkin  { background: #1f3f83; color: #fff; border-color: transparent; }
.ncc-day.checkout { background: #f8b400; color: #10203a; border-color: transparent; }
.ncc-day.inrange  { background: #eef3ff; border-color: transparent; }

/* ─── Payment overlay ────────────────────────────────────────────────────── */
.ncb-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.85); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease; z-index: 20; pointer-events: auto; }
.ncb-overlay.visible { opacity: 1; visibility: visible; }
.ncb-overlay-inner { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,0.96); border: 1px solid rgba(29,43,65,0.08); color: #10203a; font-size: 14px; line-height: 1.4; }
.ncb-overlay-inner .spin { width: 14px; height: 14px; border-width: 2px; }