/* ================================================================
   NORTH FORK WINERY TOUR — CHATBOT WIDGET
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables — Scoped to widget to prevent host-page conflicts ─── */
.nfw-widget,
.nfw-fab {
    --nfw-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nfw-bg-page: #faf8f4;
    --nfw-bg-panel: #ffffff;
    --nfw-bg-card: #f9f6f1;
    --nfw-bg-card-hover: #f3efe7;
    --nfw-border-subtle: rgba(180, 160, 120, 0.12);
    --nfw-border-card: rgba(180, 160, 120, 0.15);
    --nfw-border-card-hover: rgba(200, 169, 78, 0.4);
    --nfw-text-primary: #2c2a25;
    --nfw-text-secondary: #7a7568;
    --nfw-text-muted: #aba496;
    --nfw-accent: #c8a94e;
    --nfw-accent-soft: rgba(200, 169, 78, 0.1);
    --nfw-accent-glow: rgba(200, 169, 78, 0.18);
    --nfw-gold: #c8a94e;
    --nfw-gold-soft: rgba(200, 169, 78, 0.1);
    --nfw-icon-airport: #7c6b3a;
    --nfw-icon-point: #8b7542;
    --nfw-icon-hourly: #6b8a5e;
    --nfw-icon-event: #a68c3c;
    --nfw-icon-call: #9c7a50;
    --nfw-bubble-bot-bg: #f5f2ec;
    --nfw-bubble-bot-border: rgba(180, 160, 120, 0.1);
    --nfw-bubble-user-bg: #2c2a25;
    --nfw-bubble-user-text: #faf8f4;
    --nfw-shadow-sm: 0 1px 4px rgba(100, 80, 40, 0.06);
    --nfw-shadow-md: 0 4px 16px rgba(100, 80, 40, 0.08);
    --nfw-shadow-lg: 0 12px 40px rgba(100, 80, 40, 0.12);
    --nfw-shadow-widget: 0 20px 60px rgba(60, 50, 30, 0.18), 0 0 0 1px rgba(200, 169, 78, 0.08);
    --nfw-radius-sm: 8px;
    --nfw-radius-md: 12px;
    --nfw-radius-lg: 18px;
    --nfw-radius-full: 50%;
    --nfw-widget-width: 520px;
    --nfw-widget-height: 760px;
    --nfw-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --nfw-transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --nfw-transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset within widget scope ─── */
.nfw-widget *,
.nfw-widget *::before,
.nfw-widget *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Defensive form controls reset for hostile themes/plugins */
.nfw-widget input,
.nfw-widget button,
.nfw-widget textarea,
.nfw-widget select,
.nfw-widget label {
    font-family: var(--nfw-font);
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    min-height: 0;
    max-height: none;
}

/* ─── Floating Action Button (FAB) — Gold Pill ─── */
.nfw-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99998;
    height: 50px;
    padding: 0 20px 0 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--nfw-fab-bg, #2c2a25) 0%, var(--nfw-fab-bg, #3d3a33) 100%);
    color: var(--nfw-fab-text, #f0ece4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 6px 24px rgba(44, 42, 37, 0.35);
    transition: transform var(--nfw-transition-smooth), box-shadow var(--nfw-transition-smooth);
    animation: nfw-fab-pulse 3s ease-in-out infinite;
    font-family: var(--nfw-font);
}

.nfw-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(44, 42, 37, 0.45), 0 0 0 6px rgba(44, 42, 37, 0.08);
}

.nfw-fab:active {
    transform: scale(0.97);
}

.nfw-fab svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--nfw-transition-smooth);
}

.nfw-fab.is-open svg {
    transform: rotate(90deg);
}

.nfw-fab-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nfw-fab.is-open .nfw-fab-label {
    display: none;
}

.nfw-fab.is-open {
    width: 50px;
    padding: 0;
    border-radius: 50%;
}

@keyframes nfw-fab-pulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(44, 42, 37, 0.35), 0 0 0 0 rgba(44, 42, 37, 0.2);
    }

    50% {
        box-shadow: 0 6px 24px rgba(44, 42, 37, 0.35), 0 0 0 12px rgba(44, 42, 37, 0);
    }
}

/* ─── Widget Container ─── */
.nfw-widget {
    position: fixed;
    bottom: 104px;
    right: 28px;
    z-index: 99999;
    width: var(--nfw-widget-width);
    max-height: var(--nfw-widget-height);
    font-family: var(--nfw-font);
    border-radius: var(--nfw-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-subtle);
    box-shadow: var(--nfw-shadow-widget);
    transform-origin: bottom right;
    transition: transform var(--nfw-transition-smooth), opacity var(--nfw-transition-smooth);
}

.nfw-widget.is-hidden {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
    pointer-events: none;
}

.nfw-widget.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ─── Header ─── */
.nfw-header {
    position: relative;
    padding: 18px 20px 14px;
    background: linear-gradient(180deg, #f5f2ec 0%, var(--nfw-bg-panel) 100%);
    border-bottom: 1px solid var(--nfw-border-subtle);
    flex-shrink: 0;
}

.nfw-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nfw-gold), transparent);
    opacity: 0.4;
}

.nfw-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nfw-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nfw-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2c2a25, #3d3a33);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nfw-brand-icon.has-logo {
    width: auto;
    height: auto;
    background: var(--nfw-logo-bg, transparent);
    border-radius: var(--nfw-logo-radius, 0);
    padding: var(--nfw-logo-pad, 0);
}

.nfw-brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: 34px;
    object-fit: contain;
}

.nfw-brand-icon svg {
    width: 17px;
    height: 17px;
    color: #f0ece4;
}

.nfw-brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nfw-text-primary);
}

.nfw-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nfw-reset-btn,
.nfw-close-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--nfw-radius-full);
    border: 1px solid var(--nfw-border-card);
    background: transparent;
    color: var(--nfw-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--nfw-transition-fast);
}

.nfw-reset-btn:hover,
.nfw-close-btn:hover {
    background: var(--nfw-accent-soft);
    color: var(--nfw-gold);
    border-color: var(--nfw-border-card-hover);
}

.nfw-reset-btn:active {
    transform: rotate(180deg);
}

.nfw-reset-btn svg {
    width: 14px;
    height: 14px;
}

.nfw-close-btn svg {
    width: 14px;
    height: 14px;
}

/* Trust bar — hidden by default (removed per client request) */
.nfw-trust-bar {
    display: none;
}

/* ─── Chat Body ─── */
.nfw-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 160, 120, 0.15) transparent;
    background: var(--nfw-bg-panel);
}

.nfw-body::-webkit-scrollbar {
    width: 4px;
}

.nfw-body::-webkit-scrollbar-thumb {
    background: rgba(180, 160, 120, 0.2);
    border-radius: 4px;
}

/* ─── Chat Bubbles ─── */
.nfw-bubble {
    max-width: 88%;
    position: relative;
    animation: nfw-bubble-in 0.4s var(--nfw-transition-smooth) both;
}

.nfw-bubble-bot {
    align-self: flex-start;
    background: var(--nfw-bubble-bot-bg);
    border: 1px solid var(--nfw-bubble-bot-border);
    border-radius: 4px 18px 18px 18px;
    padding: 13px 17px;
}

.nfw-bubble-user {
    align-self: flex-end;
    background: var(--nfw-bubble-user-bg);
    border-radius: 18px 4px 18px 18px;
    padding: 11px 18px;
}

.nfw-bubble-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--nfw-text-primary);
}

.nfw-bubble-user .nfw-bubble-text {
    color: var(--nfw-bubble-user-text);
    font-weight: 500;
    font-size: 12.5px;
}

/* Typing indicator */
.nfw-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.nfw-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--nfw-radius-full);
    background: var(--nfw-text-muted);
    animation: nfw-typing-bounce 1.4s infinite ease-in-out both;
}

.nfw-typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.nfw-typing-dot:nth-child(2) {
    animation-delay: 0.16s;
}

.nfw-typing-dot:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes nfw-typing-bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes nfw-bubble-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ─── Service Option Cards — 2-Column Grid ─── */
.nfw-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nfw-option-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
    padding: 10px 12px;
    min-height: 78px;
    background: var(--nfw-bg-card);
    border: 1px solid var(--nfw-border-card);
    border-top: 2px solid var(--nfw-gold);
    border-radius: var(--nfw-radius-md);
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    animation: nfw-card-stagger 0.4s var(--nfw-transition-smooth) both;
}

.nfw-option-card:nth-child(1) {
    animation-delay: 0.05s;
}

.nfw-option-card:nth-child(2) {
    animation-delay: 0.10s;
}

.nfw-option-card:nth-child(3) {
    animation-delay: 0.15s;
}

.nfw-option-card:nth-child(4) {
    animation-delay: 0.20s;
}

.nfw-option-card:nth-child(n+5) {
    animation-delay: 0.25s;
}

.nfw-option-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 55%;
    justify-self: center;
}

@keyframes nfw-card-stagger {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nfw-option-card:hover {
    border-color: var(--nfw-border-card-hover);
    background: var(--nfw-bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 78, 0.1);
}

.nfw-option-card:active {
    transform: scale(0.97);
}

/* Option icon */
.nfw-option-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--nfw-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--nfw-transition-fast);
}

.nfw-option-card:hover .nfw-option-icon {
    transform: scale(1.1);
}

.nfw-option-icon svg {
    width: 16px;
    height: 16px;
}

.nfw-option-icon.airport {
    background: rgba(200, 169, 78, 0.1);
    color: var(--nfw-icon-airport);
}

.nfw-option-icon.point-to-point {
    background: rgba(200, 169, 78, 0.1);
    color: var(--nfw-icon-point);
}

.nfw-option-icon.hourly {
    background: rgba(107, 138, 94, 0.1);
    color: var(--nfw-icon-hourly);
}

.nfw-option-icon.special-event {
    background: rgba(166, 140, 60, 0.1);
    color: var(--nfw-icon-event);
}

.nfw-option-icon.call {
    background: rgba(156, 122, 80, 0.1);
    color: var(--nfw-icon-call);
}

/* Option text */
.nfw-option-text {
    flex: 1;
    min-width: 0;
}

.nfw-option-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--nfw-text-primary);
    margin-bottom: 1px;
    line-height: 1.25;
}

.nfw-option-desc {
    font-size: 10.5px;
    font-weight: 400;
    color: var(--nfw-text-secondary);
    line-height: 1.3;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Chevron arrow — hidden in grid mode */
.nfw-option-arrow {
    display: none;
}

/* ─── Chip / Pill Buttons (airport selection, direction, etc.) ─── */
.nfw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 50px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-family: var(--nfw-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--nfw-text-primary);
    background: var(--nfw-bg-panel);
    border: 1.5px solid var(--nfw-border-card);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.2px;
}

.nfw-chip:hover {
    /* White on #c8a94e only reaches ~2.2:1 contrast — unreadable at 13px.
       Tint the surface instead and keep the dark label. */
    background: var(--nfw-gold-soft, rgba(200, 169, 78, .14));
    color: var(--nfw-text-primary);
    border-color: var(--nfw-gold);
    box-shadow: 0 2px 12px rgba(200, 169, 78, 0.18);
}

.nfw-chip:focus-visible {
    outline: 2px solid var(--nfw-gold);
    outline-offset: 2px;
}

.nfw-chip:active {
    transform: scale(0.96);
}

/* ─── Address Input ─── */
.nfw-address-input-wrap {
    position: relative;
    padding-left: 50px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-address-input-wrap::before {
    content: '';
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a94e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5.4 7 11.5 7.3 11.8a1 1 0 0 0 1.4 0C13 21.5 20 15.4 20 10a8 8 0 0 0-8-8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.nfw-address-input {
    width: 100%;
    padding: 14px 16px 14px 38px;
    font-family: var(--nfw-font);
    font-size: 14px;
    font-weight: 400;
    color: var(--nfw-text-primary);
    background: var(--nfw-bg-panel);
    border: 1.5px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-sm);
    outline: none;
    transition: border-color var(--nfw-transition-fast), box-shadow var(--nfw-transition-fast);
}

.nfw-address-input::placeholder {
    color: var(--nfw-text-muted);
    font-weight: 400;
}

.nfw-address-input:focus {
    border-color: var(--nfw-gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 78, 0.12);
}

/* ─── Autocomplete Dropdown ─── */
.nfw-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-top: none;
    border-radius: 0 0 var(--nfw-radius-sm) var(--nfw-radius-sm);
    max-height: 180px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: var(--nfw-shadow-md);
}

.nfw-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background var(--nfw-transition-fast);
    border-bottom: 1px solid var(--nfw-border-subtle);
}

.nfw-autocomplete-item:last-child {
    border-bottom: none;
}

.nfw-autocomplete-item:hover {
    background: var(--nfw-bg-card);
}

.nfw-autocomplete-item svg {
    width: 16px;
    height: 16px;
    color: var(--nfw-text-muted);
    flex-shrink: 0;
}

.nfw-autocomplete-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--nfw-text-primary);
}

.nfw-autocomplete-sub {
    font-size: 11.5px;
    color: var(--nfw-text-secondary);
}

/* ─── Calendar — Luxury Compact ─── */
.nfw-calendar {
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    padding: 14px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
    box-shadow: var(--nfw-shadow-sm);
}

.nfw-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--nfw-border-subtle);
}

.nfw-cal-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    letter-spacing: 0.5px;
}

.nfw-cal-nav {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--nfw-border-card);
    background: transparent;
    color: var(--nfw-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nfw-font);
    font-size: 13px;
    transition: all var(--nfw-transition-fast);
}

.nfw-cal-nav:hover {
    background: var(--nfw-gold-soft);
    color: var(--nfw-gold);
    border-color: var(--nfw-border-card-hover);
}

.nfw-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.nfw-cal-dow {
    font-size: 10px;
    font-weight: 700;
    color: var(--nfw-text-muted);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nfw-cal-day {
    padding: 6px 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--nfw-text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    border: none;
    background: transparent;
    font-family: var(--nfw-font);
}

.nfw-cal-day:hover {
    background: var(--nfw-gold-soft);
    color: var(--nfw-gold);
}

.nfw-cal-day.is-today {
    background: var(--nfw-gold);
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
}

.nfw-cal-day.is-disabled {
    color: var(--nfw-text-muted);
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.nfw-cal-day.is-empty {
    cursor: default;
    pointer-events: none;
}

/* ─── Combined Trip Dates Form ─── */
.nfw-trip-form {
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    padding: 0;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
    box-shadow: var(--nfw-shadow-sm);
}

.nfw-tf-tabs {
    display: flex;
    border-bottom: 1px solid var(--nfw-border-subtle);
}

.nfw-tf-tab {
    flex: 1;
    padding: 8px;
    font-family: var(--nfw-font);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: var(--nfw-bg-card);
    color: var(--nfw-text-muted);
    transition: all .2s;
    border-bottom: 2px solid transparent;
}

.nfw-tf-tab.active {
    background: var(--nfw-bg-panel);
    color: var(--nfw-gold);
    border-bottom-color: var(--nfw-gold);
}

.nfw-tf-panel {
    display: none;
    padding: 10px;
}

.nfw-tf-panel.active {
    display: block;
}

/* Compact calendar inside trip form */
.nfw-trip-form .nfw-cal-header {
    margin-bottom: 6px;
    padding-bottom: 6px;
}

.nfw-trip-form .nfw-cal-title {
    font-size: 12px;
}

.nfw-trip-form .nfw-cal-grid {
    gap: 1px;
}

.nfw-trip-form .nfw-cal-day {
    padding: 4px 0;
    font-size: 11px;
}

.nfw-trip-form .nfw-cal-dow {
    font-size: 9px;
    padding: 2px 0;
}

.nfw-trip-form .nfw-cal-nav {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.nfw-tf-time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 4px;
    padding: 14px;
    border: 1.5px solid var(--nfw-border-card);
    background: var(--nfw-bg-card);
    border-radius: var(--nfw-radius-sm);
}

.nfw-tf-time-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--nfw-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: auto;
}

.nfw-trip-form .nfw-time-select {
    padding: 8px 10px;
    font-size: 16px;
    min-width: 52px;
    border-radius: 8px;
    border: 1.5px solid var(--nfw-border-card);
    background: var(--nfw-bg-panel);
    font-weight: 600;
}

.nfw-trip-form .nfw-time-sep {
    font-size: 18px;
    font-weight: 800;
}

.nfw-tf-confirm {
    display: flex;
    padding: 12px;
}

.nfw-tf-confirm button {
    flex: 1;
    padding: 12px;
    font-family: var(--nfw-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
    background: var(--nfw-text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
}

.nfw-tf-confirm button:hover {
    opacity: .85;
    transform: scale(1.02);
}

.nfw-tf-confirm button:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}

.nfw-tf-status {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    background: var(--nfw-bg-card);
    border-top: 1px solid var(--nfw-border-subtle);
    font-size: 11px;
    font-weight: 500;
    color: var(--nfw-text-secondary);
}

.nfw-tf-status-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nfw-tf-status-item .check {
    color: var(--nfw-gold);
    font-weight: 700;
}

.nfw-tf-status-item .pending {
    color: var(--nfw-text-muted);
}

/* ─── Time Picker — Dial Card ─── */
.nfw-time-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    padding-left: 50px;
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
    box-shadow: var(--nfw-shadow-sm);
}

.nfw-time-select {
    padding: 8px 6px;
    font-family: var(--nfw-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    background: var(--nfw-bg-card);
    border: 1px solid var(--nfw-border-card);
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    min-width: 52px;
    transition: border-color var(--nfw-transition-fast);
}

.nfw-time-select:focus {
    border-color: var(--nfw-gold);
}

.nfw-time-sep {
    font-size: 20px;
    font-weight: 700;
    color: var(--nfw-gold);
}

.nfw-set-btn {
    padding: 8px 16px;
    font-family: var(--nfw-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    background: var(--nfw-text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    margin-left: auto;
}

.nfw-set-btn:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* ─── Passenger Counter ─── */
.nfw-passenger-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 50px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-pax-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--nfw-text-primary);
    flex: 1;
}

.nfw-pax-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--nfw-radius-full);
    border: 1px solid var(--nfw-border-card);
    background: transparent;
    color: var(--nfw-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: var(--nfw-font);
    transition: all var(--nfw-transition-fast);
}

.nfw-pax-btn:hover {
    background: var(--nfw-bg-card);
}

.nfw-pax-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    min-width: 28px;
    text-align: center;
}

/* ─── Vehicle Cards — Vertical with Large Photos ─── */
.nfw-vehicles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    animation: nfw-bubble-in 0.4s var(--nfw-transition-smooth) both;
}

.nfw-vehicle-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    overflow: hidden;
    transition: all var(--nfw-transition-fast);
    background: var(--nfw-bg-panel);
}

.nfw-vehicle-card:hover {
    border-color: var(--nfw-border-card-hover);
    box-shadow: 0 6px 20px rgba(200, 169, 78, 0.12);
    transform: translateY(-2px);
}

.nfw-vehicle-img-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    background: var(--nfw-bg-card);
    overflow: hidden;
}

.nfw-vehicle-img-wrap .nfw-vehicle-img,
.nfw-vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    padding: 0;
    cursor: default;
    transition: transform 0.3s ease;
}

.nfw-vehicle-card:hover .nfw-vehicle-img {
    transform: scale(1.05);
    z-index: 1;
}

.nfw-vehicle-body {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nfw-vehicle-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    margin-bottom: 2px;
}

.nfw-vehicle-cat {
    font-size: 9px;
    font-weight: 600;
    color: var(--nfw-gold);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
}

.nfw-vehicle-badge {
    display: none;
}

.nfw-vehicle-features {
    display: none;
}

.nfw-vehicle-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--nfw-text-secondary);
    margin-bottom: 8px;
}

.nfw-vehicle-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nfw-vehicle-select-btn {
    width: 100%;
    padding: 9px;
    font-family: var(--nfw-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #c8a94e, #a8893a);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    margin-top: auto;
}

.nfw-vehicle-select-btn:hover {
    background: linear-gradient(135deg, #d4b85a, #b89944);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 169, 78, 0.3);
}

/* ─── Trip Summary Card ─── */
.nfw-trip-summary {
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    padding: 18px 20px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-trip-summary-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nfw-trip-row {
    display: flex;
    padding: 7px 0;
    border-bottom: 1px solid var(--nfw-border-subtle);
}

.nfw-trip-row:last-child {
    border-bottom: none;
}

.nfw-trip-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--nfw-text-muted);
    width: 100px;
    flex-shrink: 0;
}

.nfw-trip-value {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--nfw-text-primary);
    flex: 1;
}

/* ─── Info / Trust Badge ─── */
.nfw-info-badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: var(--nfw-radius-sm);
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-info-badge-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--nfw-radius-full);
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 1px;
}

.nfw-info-badge-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--nfw-text-secondary);
}

.nfw-info-badge-text strong {
    color: var(--nfw-text-primary);
}

/* ─── Input + Button Row ─── */
.nfw-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-input-field {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--nfw-font);
    font-size: 14px;
    color: var(--nfw-text-primary);
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-sm);
    outline: none;
    transition: border-color var(--nfw-transition-fast), box-shadow var(--nfw-transition-fast);
}

.nfw-input-field::placeholder {
    color: var(--nfw-text-muted);
}

.nfw-input-field:focus {
    border-color: var(--nfw-text-primary);
    box-shadow: 0 0 0 3px rgba(26, 29, 39, 0.06);
}

.nfw-next-btn {
    padding: 12px 22px;
    font-family: var(--nfw-font);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--nfw-gold, #c8a94e), #a8893a);
    border: none;
    border-radius: var(--nfw-radius-sm);
    box-shadow: 0 3px 10px rgba(200, 169, 78, .28);
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nfw-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(200, 169, 78, .38);
}
.nfw-next-btn:active { transform: none; }

/* ─── Contact Card ─── */
.nfw-contact-card {
    background: var(--nfw-bg-panel);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    padding: 24px 20px;
    text-align: center;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-contact-label {
    font-size: 13px;
    color: var(--nfw-text-muted);
    margin-bottom: 10px;
}

.nfw-contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--nfw-transition-fast);
}

.nfw-contact-phone svg {
    width: 20px;
    height: 20px;
    color: #8b5cf6;
}

.nfw-contact-phone:hover {
    color: #8b5cf6;
}

.nfw-contact-divider {
    font-size: 12px;
    color: var(--nfw-text-muted);
    margin-bottom: 8px;
}

.nfw-contact-email {
    font-size: 16px;
    font-weight: 600;
    color: var(--nfw-text-primary);
    text-decoration: none;
    transition: color var(--nfw-transition-fast);
}

.nfw-contact-email:hover {
    color: #3b82f6;
}

/* ═══════════════════════════════════════════════════════════
   CONFIRMATION PAGE — Simple Checklist (per boss request)
   ═══════════════════════════════════════════════════════════ */

.nfw-confirm {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    background: var(--nfw-bg-panel);
    animation: nfw-cf-in 0.45s var(--nfw-transition-smooth) both;
}

@keyframes nfw-cf-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nfw-cf-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px 28px;
    width: 100%;
}

/* ── Top: gold bar + check circle + title ── */
.nfw-cf-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
    padding-top: 10px;
    width: 100%;
    position: relative;
}

.nfw-cf-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 5%, var(--nfw-gold) 30%, var(--nfw-gold) 70%, transparent 95%);
    border-radius: 0 0 4px 4px;
    opacity: 0.7;
}

.nfw-cf-check-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4b44a 0%, #b89a3e 50%, #a08636 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 22px;
    box-shadow:
        0 8px 24px rgba(200, 169, 78, 0.3),
        0 0 0 8px rgba(200, 169, 78, 0.08);
    animation: nfw-cf-pop 0.55s 0.05s var(--nfw-transition-bounce) both;
    flex-shrink: 0;
}

.nfw-cf-check-circle svg {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

@keyframes nfw-cf-pop {
    from {
        opacity: 0;
        transform: scale(0.35);
    }

    65% {
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nfw-cf-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* ── Checklist rows ── */
.nfw-cf-checklist {
    width: 100%;
    margin-bottom: 32px;
}

.nfw-cf-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--nfw-border-subtle);
    animation: nfw-cf-row-in 0.35s var(--nfw-transition-smooth) both;
}

.nfw-cf-row:first-child {
    animation-delay: 0.25s;
}

.nfw-cf-row:nth-child(2) {
    animation-delay: 0.4s;
}

.nfw-cf-row:last-child {
    border-bottom: none;
}

@keyframes nfw-cf-row-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nfw-cf-check {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: rgba(200, 169, 78, 0.12);
    color: var(--nfw-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 1px;
    flex-shrink: 0;
}

.nfw-cf-label {
    font-size: 14px;
    line-height: 1.55;
    color: var(--nfw-text-primary);
    font-weight: 500;
}

/* ── Buttons ── */
.nfw-cf-btns {
    display: flex;
    gap: 10px;
    width: 100%;
}

.nfw-cf-btn-primary {
    flex: 1;
    padding: 14px 16px;
    font-family: var(--nfw-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #c8a94e 0%, #b89a3e 100%);
    border: none;
    border-radius: var(--nfw-radius-sm);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--nfw-transition-fast), transform var(--nfw-transition-fast), box-shadow var(--nfw-transition-fast);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(200, 169, 78, 0.25);
}

.nfw-cf-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 169, 78, 0.35);
}

.nfw-cf-btn-outline {
    flex: 1;
    padding: 14px 16px;
    font-family: var(--nfw-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--nfw-text-primary);
    background: transparent;
    border: 1.5px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--nfw-transition-fast), background var(--nfw-transition-fast), transform var(--nfw-transition-fast);
    white-space: nowrap;
}

.nfw-cf-btn-outline:hover {
    border-color: var(--nfw-gold);
    background: var(--nfw-bg-card);
    transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .nfw-cf-inner {
        padding: 0 18px 22px;
    }

    .nfw-cf-check-circle {
        width: 60px;
        height: 60px;
    }

    .nfw-cf-check-circle svg {
        width: 26px;
        height: 26px;
    }

    .nfw-cf-heading {
        font-size: 19px;
    }
}

/* ─── SMS Opt-in Checkbox ─── */
.nfw-phone-optin-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.nfw-phone-optin-row .nfw-input-field,
.nfw-phone-optin-row .nfw-next-btn {
    height: 48px;
}

.nfw-phone-optin-row .nfw-input-error,
.nfw-phone-optin-row .nfw-optin-label {
    grid-column: 1 / -1;
}

.nfw-optin-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    background: var(--nfw-bg-card);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-sm);
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
}

.nfw-optin-label:hover {
    border-color: var(--nfw-border-card-hover);
    background: var(--nfw-bg-card-hover);
}

.nfw-optin-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--nfw-gold);
    cursor: pointer;
}

.nfw-optin-text {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--nfw-text-secondary);
    font-weight: 400;
}

/* ─── Google Review Badge ─── */
.nfw-google-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin: 0 16px 8px;
    background: var(--nfw-bg-card);
    border-radius: 10px;
    border: 1px solid var(--nfw-border-subtle);
    flex-shrink: 0;
}

.nfw-gbadge-rating {
    font-size: 26px;
    font-weight: 800;
    color: var(--nfw-gold);
    line-height: 1;
}

.nfw-gbadge-info {
    flex: 1;
}

.nfw-gbadge-stars {
    color: #f5b731;
    font-size: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.nfw-gbadge-text {
    font-size: 10px;
    color: var(--nfw-text-muted);
    font-weight: 500;
}

.nfw-gbadge-logo {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ─── Footer ─── */
.nfw-footer {
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid var(--nfw-border-subtle);
    flex-shrink: 0;
    background: var(--nfw-bg-panel);
}

.nfw-footer-text {
    font-size: 10px;
    font-weight: 500;
    color: var(--nfw-text-muted);
    letter-spacing: 0.3px;
}

.nfw-footer-text a {
    color: var(--nfw-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--nfw-transition-fast);
}

.nfw-footer-text a:hover {
    color: var(--nfw-text-primary);
}

/* ─── Call Us: Mobile Only ─── */
.nfw-option-card.call-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .nfw-option-card.call-mobile-only {
        display: flex;
    }
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .nfw-widget {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 100dvh;
        border-radius: 18px 18px 0 0;
    }

    .nfw-fab {
        bottom: 20px;
        right: 16px;
        height: 44px;
        padding: 0 16px 0 12px;
    }

    .nfw-fab-label {
        font-size: 12px;
    }

    .nfw-fab svg {
        width: 18px;
        height: 18px;
    }

    .nfw-options {
        grid-template-columns: 1fr;
    }

    .nfw-option-card:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .nfw-vehicle-img {
        height: 130px;
    }

    .nfw-google-badge {
        margin: 0 10px 6px;
        padding: 8px 12px;
    }

    .nfw-gbadge-rating {
        font-size: 22px;
    }
}

/* ─── Amy Avatar on Bot Bubbles ─── */
.nfw-bubble.nfw-bubble-bot.nfw-bubble-with-avatar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 92% !important;
}

.nfw-bubble-with-avatar .nfw-bubble-text {
    background: var(--nfw-bubble-bot-bg);
    border: 1px solid var(--nfw-bubble-bot-border);
    border-radius: 4px 18px 18px 18px;
    padding: 13px 17px;
    flex: 1 !important;
    min-width: 0 !important;
}

.nfw-bubble-with-avatar .nfw-typing {
    background: var(--nfw-bubble-bot-bg);
    border: 1px solid var(--nfw-bubble-bot-border);
    border-radius: 4px 18px 18px 18px;
    padding: 13px 17px;
}

.nfw-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 2px solid var(--nfw-gold) !important;
    box-shadow: 0 2px 8px rgba(200, 169, 78, 0.2) !important;
    display: block !important;
}

/* ─── FAB Avatar ─── */
.nfw-fab .nfw-fab-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 1.5px solid var(--nfw-gold) !important;
    display: block !important;
}

/* ─── Premium Service Card Grid ─── */
.nfw-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    animation: nfw-bubble-in 0.35s var(--nfw-transition-smooth) both;
}

/* Every card keeps the same footprint, including a lone last one. */
.nfw-service-grid { align-items: stretch; }
.nfw-service-grid .nfw-service-card {
    width: 100%;
    height: 100%;
    justify-self: stretch;
}

.nfw-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 18px 12px 16px;
    background: var(--nfw-bg-card);
    border: 1px solid var(--nfw-border-card);
    border-radius: var(--nfw-radius-md);
    cursor: pointer;
    transition: all var(--nfw-transition-fast);
    position: relative;
    overflow: hidden;
    font-family: var(--nfw-font);
    -webkit-tap-highlight-color: transparent;
    animation: nfw-sc-enter 0.45s var(--nfw-transition-smooth) both;
}

@keyframes nfw-sc-enter {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nfw-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nfw-gold), transparent);
    opacity: 0;
    transition: opacity var(--nfw-transition-fast);
}

.nfw-service-card:hover {
    border-color: var(--nfw-border-card-hover);
    background: var(--nfw-bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 169, 78, 0.12);
}

.nfw-service-card:hover::before {
    opacity: 1;
}

.nfw-service-card:active {
    transform: scale(0.97);
}

/* Icon wrapper — circle with gradient */
.nfw-sc-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--nfw-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 2px;
    transition: transform var(--nfw-transition-fast), box-shadow var(--nfw-transition-fast);
}

.nfw-service-card:hover .nfw-sc-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(200, 169, 78, 0.2);
}

.nfw-sc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--nfw-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfw-sc-icon svg {
    width: 22px;
    height: 22px;
}

/* Icon color variants */
.nfw-sc-icon--airport {
    background: linear-gradient(145deg, rgba(200,169,78,0.15), rgba(200,169,78,0.05));
    color: var(--nfw-icon-airport);
    border: 1px solid rgba(200,169,78,0.2);
}

.nfw-sc-icon--p2p {
    background: linear-gradient(145deg, rgba(139,117,66,0.15), rgba(139,117,66,0.05));
    color: var(--nfw-icon-point);
    border: 1px solid rgba(139,117,66,0.2);
}

.nfw-sc-icon--hourly {
    background: linear-gradient(145deg, rgba(107,138,94,0.15), rgba(107,138,94,0.05));
    color: var(--nfw-icon-hourly);
    border: 1px solid rgba(107,138,94,0.2);
}

.nfw-sc-icon--event {
    background: linear-gradient(145deg, rgba(166,140,60,0.15), rgba(166,140,60,0.05));
    color: var(--nfw-icon-event);
    border: 1px solid rgba(166,140,60,0.2);
}

.nfw-sc-icon--call {
    background: linear-gradient(145deg, rgba(156,122,80,0.15), rgba(156,122,80,0.05));
    color: var(--nfw-icon-call);
    border: 1px solid rgba(156,122,80,0.2);
}

/* Content */
.nfw-sc-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nfw-sc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--nfw-text-primary);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.nfw-sc-desc {
    font-size: 10.5px;
    font-weight: 400;
    color: var(--nfw-text-secondary);
    line-height: 1.35;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Arrow — hidden in card mode, visual accent only */
.nfw-sc-arrow {
    display: none;
}

/* Call us — mobile only */
.nfw-service-card.call-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .nfw-service-card.call-mobile-only {
        display: flex;
    }
}

/* Responsive: single column on mobile */
@media (max-width: 640px) {
    .nfw-service-grid {
        grid-template-columns: 1fr;
    }

    .nfw-service-grid .nfw-service-card:last-child:nth-child(odd) {
        max-width: 100%;
    }

    .nfw-service-card {
        flex-direction: row;
        text-align: left;
        padding: 14px 16px;
        gap: 12px;
    }

    .nfw-sc-icon-wrap {
        margin-bottom: 0;
    }

    .nfw-sc-arrow {
        display: block;
        width: 16px;
        height: 16px;
        color: var(--nfw-text-muted);
        flex-shrink: 0;
        margin-left: auto;
        transition: transform var(--nfw-transition-fast), color var(--nfw-transition-fast);
    }

    .nfw-service-card:hover .nfw-sc-arrow {
        transform: translateX(3px);
        color: var(--nfw-gold);
    }
}

/* ─── Vehicle Price Tag ─── */
.nfw-vehicle-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--nfw-gold);
    margin: 4px 0;
    letter-spacing: -0.3px;
}
/* ═══════════════════════════════════════════════════════════
   NORTH FORK ADDITIONS
   Step rail, tour icons, and the mobile step-by-step layout.
   ═══════════════════════════════════════════════════════════ */

/* ── Tour icon colours (step 1) ── */
.nfw-sc-icon--north-fork {
    background: linear-gradient(145deg, rgba(139,117,66,0.15), rgba(139,117,66,0.05));
    color: var(--nfw-icon-point, #8b7542);
    border: 1px solid rgba(139,117,66,0.2);
}
.nfw-sc-icon--hamptons {
    background: linear-gradient(145deg, rgba(166,140,60,0.15), rgba(166,140,60,0.05));
    color: var(--nfw-icon-event, #a68c3c);
    border: 1px solid rgba(166,140,60,0.2);
}
.nfw-sc-icon--rest-of-li {
    background: linear-gradient(145deg, rgba(107,138,94,0.15), rgba(107,138,94,0.05));
    color: var(--nfw-icon-hourly, #6b8a5e);
    border: 1px solid rgba(107,138,94,0.2);
}
.nfw-sc-icon--breweries {
    background: linear-gradient(145deg, rgba(200,169,78,0.15), rgba(200,169,78,0.05));
    color: var(--nfw-icon-airport, #c8a94e);
    border: 1px solid rgba(200,169,78,0.2);
}

/* ── Step rail ──
   The header is a light cream gradient, so the rail uses the text palette.
   It only appears once the conversation starts (setStep(1)). */
.nfw-steprail {
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
}
.nfw-steprail.is-on {
    max-height: 60px;
    opacity: 1;
    padding: 14px 2px 2px;
}
.nfw-steprail-track {
    position: relative;
    height: 3px;
    border-radius: 3px;
    background: rgba(44, 42, 37, .10);
    overflow: hidden;
}
.nfw-steprail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--nfw-gold, #c8a94e), #a8893a);
    transition: width .45s cubic-bezier(.4,0,.2,1);
}
.nfw-steprail-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
}
.nfw-steprail-label {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nfw-text-secondary, #7a7568);
    opacity: .5;
    transition: color .3s ease, opacity .3s ease;
    white-space: nowrap;
}
.nfw-steprail-label.is-active {
    color: var(--nfw-gold, #c8a94e);
    opacity: 1;
    font-weight: 800;
}
.nfw-steprail-label.is-done {
    color: var(--nfw-text-primary, #2c2a25);
    opacity: .85;
}

/* Long company names must not wrap the header onto two lines. */
.nfw-brand { min-width: 0; flex: 1; }
.nfw-brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ── Compact step counter, replaces the labels on very narrow screens ── */
.nfw-stepcount {
    display: none;
    margin-top: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nfw-gold, #c8a94e);
}
@media (max-width: 400px) {
    .nfw-steprail.is-on .nfw-stepcount { display: block; }
}

/* ── Back link shown under each question on mobile ── */
.nfw-back-btn {
    background: none;
    border: none;
    padding: 6px 2px;
    margin: 2px 0 0 50px;
    font-family: var(--nfw-font);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--nfw-text-secondary, #7a7568);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: .75;
    transition: opacity .2s, color .2s;
}
.nfw-back-btn:hover { opacity: 1; color: var(--nfw-gold, #c8a94e); }

/* ── Promo banner ── */
.nfw-promo {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 10px 50px;
    padding: 10px 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200,169,78,.13), rgba(200,169,78,.05));
    border: 1px solid rgba(200,169,78,.24);
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--nfw-text-primary, #2c2a25);
}
.nfw-promo-icon { flex-shrink: 0; font-size: 13px; line-height: 1.2; }

/* ── Hours stepper ── */
.nfw-hours-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 50px;
}
.nfw-hours-note {
    width: 100%;
    font-size: 11px;
    color: var(--nfw-text-secondary, #7a7568);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — one step per screen, full height
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    .nfw-widget {
        position: fixed;
        inset: 0;
        width: 100vw !important;
        max-width: 100vw;
        height: 100dvh !important;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .nfw-header { flex: 0 0 auto; }
    .nfw-stepcount { display: block; }

    /* Only the current step is on screen; earlier turns stay scrollable above. */
    .nfw-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 24px;
        scroll-behavior: smooth;
    }

    /* Step mode: collapse the transcript, show one question at a time. */
    .nfw-widget.is-stepped .nfw-bubble.is-past,
    .nfw-widget.is-stepped .nfw-info-badge.is-past,
    .nfw-widget.is-stepped .nfw-promo.is-past {
        display: none;
    }
    .nfw-widget.is-stepped .nfw-body {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 18px;
    }

    /* Bigger tap targets */
    .nfw-service-card,
    .nfw-option-card { min-height: 62px; }

    .nfw-chip,
    .nfw-set-btn,
    .nfw-next-btn { min-height: 44px; }

    .nfw-input-field { font-size: 16px; } /* stops iOS zoom-on-focus */

    .nfw-vehicles {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .nfw-vehicle-card {
        flex: 0 0 78%;
        scroll-snap-align: center;
    }

    .nfw-back-btn,
    .nfw-promo,
    .nfw-hours-row { margin-left: 0; }

    .nfw-google-badge { padding: 8px 14px; }
    .nfw-footer { padding: 8px 14px; }
    .nfw-steprail-label { font-size: 8.5px; }

    /* Keep the brand on one line next to the buttons */
    .nfw-brand-name { font-size: 12px; letter-spacing: 1px; }
    .nfw-brand-icon { width: 30px; height: 30px; }
}

/* Very small screens — swap the labels for a step counter */
@media (max-width: 400px) {
    .nfw-steprail-labels { display: none; }
    .nfw-steprail.is-on { padding-bottom: 4px; }
    .nfw-brand-name { font-size: 11px; letter-spacing: .5px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .nfw-steprail-fill,
    .nfw-body { transition: none; scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   FIELD FIXES
   ═══════════════════════════════════════════════════════════ */

/* The address step puts the input and its button on one row, so the
   wrapper has to be a flex track and the pin has to sit inside the
   input rather than over the button. */
.nfw-address-input-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.nfw-address-input-wrap .nfw-address-input {
    flex: 1;
    min-width: 0;
    /* Must beat .nfw-input-field's shorthand padding, which is declared
       later in this file. The 38px keeps the pin clear of the text. */
    padding-left: 38px;
}
.nfw-address-input-wrap .nfw-next-btn { flex: 0 0 auto; }

/* Pin is anchored to the input, not the row, so a button never covers it. */
.nfw-address-input-wrap::before {
    left: 62px;
    top: 50%;
}

/* WordPress admin styles target bare `input:focus` with a blue ring, which
   leaks into the live preview. Re-assert the widget's own focus styling. */
.nfw-widget input,
.nfw-widget textarea,
.nfw-widget select {
    outline: none !important;
    box-shadow: none;
}
.nfw-widget .nfw-input-field:focus,
.nfw-widget .nfw-address-input:focus {
    outline: none !important;
    border-color: var(--nfw-gold, #c8a94e) !important;
    box-shadow: 0 0 0 3px rgba(200, 169, 78, .15) !important;
}

/* Native date/time controls should match the text fields. */
.nfw-widget input[type="date"],
.nfw-widget input[type="time"] {
    font-family: var(--nfw-font);
    color: var(--nfw-text-primary);
    min-height: 46px;
}
.nfw-widget input[type="date"]::-webkit-calendar-picker-indicator,
.nfw-widget input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .55;
    filter: sepia(1) saturate(3) hue-rotate(5deg);
}
.nfw-widget input[type="date"]::-webkit-calendar-picker-indicator:hover,
.nfw-widget input[type="time"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Google Places renders its dropdown on document.body. Without this it
   lands behind the widget, which is fixed-position with a high z-index. */
.pac-container {
    z-index: 2147483647 !important;
    font-family: var(--nfw-font, 'Outfit', sans-serif);
    border-radius: 12px;
    border: 1px solid rgba(200, 169, 78, .22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    margin-top: 4px;
    overflow: hidden;
}
.pac-item {
    padding: 9px 12px;
    font-size: 13px;
    border-top: 1px solid rgba(200, 169, 78, .10);
    cursor: pointer;
}
.pac-item:first-child { border-top: none; }
.pac-item:hover,
.pac-item-selected { background: rgba(200, 169, 78, .10); }
.pac-item-query { font-size: 13px; color: #2c2a25; }
.pac-icon { display: none; }
.pac-logo::after { margin: 4px 8px; }

/* Address row stacks on narrow screens so the button keeps a real tap target */
@media (max-width: 480px) {
    .nfw-address-input-wrap {
        flex-wrap: wrap;
        padding-left: 0;
    }
    .nfw-address-input-wrap::before { left: 12px; top: 24px; }
    .nfw-address-input-wrap .nfw-address-input { flex: 1 1 100%; }
    .nfw-address-input-wrap .nfw-next-btn { flex: 1 1 100%; }
}

/* ═══════════════════════════════════════════════════════════
   QUESTION BLOCK LAYOUT
   Every control the chat renders lives in one of these wraps.
   ═══════════════════════════════════════════════════════════ */

.nfw-question-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Continue / Back share one row, indented to line up with the bubbles. */
.nfw-q-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 50px;
}
.nfw-q-actions .nfw-back-btn { margin: 0; }

/* The counter is a compact stepper, not a full-width bar. */
.nfw-passenger-counter {
    width: fit-content;
    gap: 14px;
    padding: 6px 14px 6px 6px;
    margin-left: 50px;
    background: var(--nfw-bg-card, #f9f6f1);
    border: 1px solid var(--nfw-border-card, rgba(200,169,78,.16));
    border-radius: 999px;
}
.nfw-passenger-counter .nfw-pax-label {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--nfw-text-secondary, #7a7568);
}
.nfw-pax-count {
    min-width: 26px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.nfw-pax-btn {
    background: var(--nfw-bg-panel, #fff);
    flex: 0 0 auto;
}
.nfw-pax-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* The hours step reuses the counter, so it must not double the indent. */
.nfw-hours-row .nfw-passenger-counter { margin-left: 0; }
.nfw-hours-row {
    align-items: center;
    row-gap: 8px;
}

@media (max-width: 640px) {
    .nfw-q-actions { padding-left: 0; }
    .nfw-passenger-counter { margin-left: 0; }
    .nfw-q-actions .nfw-next-btn { flex: 1; }
}
