/********** Noosa Kitchen - The Modern Botanical Bistro **********/
:root {
    --primary: #1F382B;          /* Botanical Forest Green */
    --primary-hover: #15271E;
    --primary-light: #2D4C3C;
    --accent: #C59A41;           /* Warm Speculoos Gold */
    --accent-hover: #AF8532;
    --accent-soft: rgba(197, 154, 65, 0.14);
    
    --bg: #F8F6F0;               /* Warm Linen Oat */
    --surface: #FFFFFF;
    --surface-subtle: #F0EDE4;
    --surface-muted: #E8E3D8;
    
    --ink: #1C1917;              /* Deep Warm Charcoal / Espresso */
    --ink-muted: #666158;
    --ink-soft: rgba(28, 25, 23, 0.65);
    
    --border: #E2DDD2;
    --border-light: #EFEBE3;
    --badge-bg: #EAE5D9;
    
    /* Legacy aliases for Bootstrap & CI3 compatibility */
    --light: #F8F6F0;
    --dark: #1F382B;
    --parchment: #F8F6F0;
    --cream: #FFFFFF;
    --chip: #EAE5D9;
    --green: #1F382B;
    --green-deep: #1F382B;
    --mustard: #C59A41;
    --rust: #B84A28;
    --gold: #C59A41;
    --line: #E2DDD2;
}

/* Base resets & typography */
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ff-secondary, .font-heading {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    letter-spacing: -0.015em;
}

h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--ink);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--accent);
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out, visibility 0s linear .4s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.alert-success,
.alert-error {
    background-color: transparent;
}

/* Buttons */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    padding: 8px 20px;
    transition: all 0.25s ease;
    text-transform: none;
}
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(31, 56, 43, 0.2);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 56, 43, 0.28);
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--border) !important;
    background-color: var(--surface) !important;
}
.btn-outline-primary:hover {
    background-color: var(--surface-subtle) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
}
.btn-accent {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #FFFFFF !important;
}
.btn-accent:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: #FFFFFF !important;
}
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #FFFFFF !important;
}
.btn-outline-light:hover {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
}

/* Slim Top Utility Strip */
.nk-topbar {
    background-color: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    padding: 6px 0;
    color: var(--ink-muted);
}
.nk-topbar a {
    color: var(--ink);
    font-weight: 600;
}
.nk-topbar a:hover {
    color: var(--accent);
}

/* Language Switcher */
.nk-lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.nk-lang-btn {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 14px;
    color: var(--ink-muted) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.nk-lang-btn:hover {
    color: var(--ink) !important;
}
.nk-lang-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.nk-lang-divider {
    color: var(--border);
    font-size: 10px;
    margin: 0 1px;
    user-select: none;
}

/* Compact Navbar */
.navbar-dark {
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: all 0.3s ease;
}
.navbar-dark .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-dark .navbar-brand img {
    max-height: 42px;
    transition: max-height 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted) !important;
    padding: 8px 14px !important;
    margin-left: 4px;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--surface-subtle);
}
.navbar-dark .navbar-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    color: var(--ink);
}
.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler .fa {
    color: var(--ink);
}

/* Sticky Navbar state */
.sticky-top.navbar-dark {
    position: sticky !important;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Dropdown styling */
.dropdown-menu {
    border: 1px solid var(--border);
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px;
}
.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: var(--surface-subtle);
    color: var(--primary);
}

/* Compact Split Hero for Home */
.nk-split-hero {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.nk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: var(--badge-bg);
    color: var(--primary);
    margin-bottom: 16px;
}
.nk-hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}
@media (max-width: 768px) {
    .nk-hero-title {
        font-size: 2rem;
    }
    .nk-split-hero {
        padding: 32px 0;
    }
}
.nk-hero-desc {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 24px;
}
.nk-proof-strip {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}
.nk-proof-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.nk-proof-item span {
    font-size: 11.5px;
    color: var(--ink-muted);
}

/* Hero Spotlight Card (Right side) */
.nk-spotlight-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nk-spotlight-card:hover {
    box-shadow: 0 12px 32px rgba(31, 56, 43, 0.08);
}
.nk-spotlight-img {
    height: 220px;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 14px;
}
.nk-spotlight-price {
    position: absolute;
    top: 28px;
    right: 28px;
    background: rgba(31, 56, 43, 0.9);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

/* Compact Inner Page Hero Header */
.hero-header {
    background-color: var(--primary) !important;
    border-bottom: 1px solid var(--border);
    padding: 40px 0 !important;
    margin-bottom: 0 !important;
}
.hero-header h1 {
    font-size: 2.25rem !important;
    font-weight: 700;
    margin-bottom: 8px !important;
    color: #FFFFFF !important;
}
.breadcrumb {
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-item a:hover {
    color: #FFFFFF;
}
.breadcrumb-item.active {
    color: var(--accent) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Section Titles */
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-bottom: 6px;
    display: inline-block;
}
.section-title::before,
.section-title::after {
    display: none !important;
}

/* Section Container & Rhythm */
.section-compact {
    padding: 42px 0;
}
.section-bg {
    background-color: var(--surface-subtle) !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Category Highlights Bar */
.nk-category-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.nk-category-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
}
.nk-category-pill:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(31, 56, 43, 0.06);
}
.nk-category-pill i {
    color: var(--accent);
    font-size: 16px;
}

/* High-Density Dish Card */
.nk-dish-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.25s ease;
    height: 100%;
}
.nk-dish-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(31, 56, 43, 0.06);
}
.nk-dish-thumb {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.nk-dish-thumb-link {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    display: block;
    flex-shrink: 0;
}
.nk-dish-thumb-link .nk-dish-thumb {
    width: 100%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nk-dish-thumb-link:hover .nk-dish-thumb {
    transform: scale(1.08);
}
.nk-dish-thumb-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 56, 43, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.nk-dish-thumb-link:hover .nk-dish-thumb-hover {
    opacity: 1;
}
.nk-dish-body {
    flex: 1;
    min-width: 0;
}
.nk-dish-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.nk-dish-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nk-dish-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.nk-dish-desc {
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tags */
.kf-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.kf-cat-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
    padding: 2px 8px;
    border-radius: 9999px;
    background-color: var(--badge-bg);
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* Collapsible Variant Panel */
.kf-variant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.kf-variant-toggle:hover {
    color: var(--accent);
}
.kf-variant-chevron {
    font-size: 9px;
    transition: transform 0.25s ease;
}
.kf-variant-toggle:not(.collapsed) .kf-variant-chevron {
    transform: rotate(180deg);
}
.kf-variant-collapse {
    margin-top: 8px;
}
.kf-variant-panel {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
}
.kf-variant-panel strong {
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Category Filter Bar */
.kf-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}
.kf-filter a {
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    transition: all 0.2s ease;
}
.kf-filter a:hover,
.kf-filter a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF !important;
}

/* Reservation & Visit Split Module */
.nk-visit-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .nk-visit-grid {
        grid-template-columns: 1fr;
    }
}
.nk-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}
.nk-info-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3rem + 2px);
    padding: 1rem 0.75rem;
    font-size: 13px;
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
}
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 56, 43, 0.12);
    background-color: var(--surface);
}
.form-floating > label {
    font-size: 12px;
    color: var(--ink-muted);
}

/* Gallery & Team items */
.nk-gallery-thumb {
    height: 160px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.nk-gallery-thumb:hover {
    transform: scale(1.02);
}
.nk-crew-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.25s ease;
}
.nk-crew-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.nk-crew-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Refined Compact Footer */
.nk-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px 0;
    font-size: 13px;
}
.nk-footer h4,
.nk-footer h5 {
    color: #FFFFFF !important;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 16px;
    margin-bottom: 14px;
}
.nk-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}
.nk-footer a:hover {
    color: var(--accent);
}
.nk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 28px;
    z-index: 99;
    border-radius: 9999px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.back-to-top:hover {
    background: var(--accent);
    color: #FFFFFF;
}

/* ============================================================
   Cart & Order Features (The Modern Botanical Bistro)
   ============================================================ */

/* Navbar Cart Trigger Button */
.nk-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nk-cart-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface-subtle);
}
.nk-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Slide-over Cart Drawer */
.nk-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nk-cart-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.nk-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    background: var(--surface);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nk-cart-drawer.open {
    transform: translateX(0);
}

.nk-cart-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-subtle);
}
.nk-cart-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.nk-guest-bar {
    padding: 10px 20px;
    background: var(--badge-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.nk-guest-name {
    font-weight: 700;
    color: var(--primary);
}
.nk-guest-edit {
    font-size: 11.5px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.nk-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.nk-cart-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--ink-muted);
}
.nk-cart-empty i {
    color: var(--border);
    margin-bottom: 14px;
}

.nk-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}
.nk-cart-item:last-child {
    border-bottom: none;
}
.nk-cart-item-info {
    flex: 1;
    min-width: 0;
}
.nk-cart-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.nk-cart-item-notes {
    font-size: 11.5px;
    color: var(--ink-muted);
    margin-bottom: 4px;
}
.nk-cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* Quantity Stepper */
.nk-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--surface-subtle);
    overflow: hidden;
}
.nk-step-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.nk-step-btn:hover {
    background: var(--border);
}
.nk-step-qty {
    min-width: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.nk-cart-remove {
    background: transparent;
    border: none;
    color: #C53030;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.nk-cart-remove:hover {
    opacity: 1;
}

/* Cart Footer */
.nk-cart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface-subtle);
}
.nk-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.nk-cart-total-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.nk-cart-total-amt {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Add-to-cart button on dish cards */
.nk-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    background: var(--primary);
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nk-add-btn:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}
.nk-btn-has-options {
    background: var(--surface-subtle);
    color: var(--primary) !important;
    border: 1px solid var(--border);
}
.nk-btn-has-options:hover {
    background: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
}
.nk-variant-group.has-error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.05) !important;
}

/* Mobile Sticky Bottom Cart Dock */
.nk-mobile-cart-dock {
    position: fixed;
    bottom: 18px;
    left: 16px;
    right: 16px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(31, 56, 43, 0.35);
    z-index: 1030;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    animation: slideUpCart 0.3s ease;
}
@keyframes slideUpCart {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal styles */
.nk-modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.nk-modal-header {
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}
.modal,
#guestNameModal,
#orderSuccessModal,
#orderTrackerModal,
#kfLightbox,
#menuLightbox,
#ordermodal,
#promomodal,
#variantmodal {
    z-index: 1070 !important;
}
.modal-backdrop {
    z-index: 1060 !important;
}

/* Gallery Item Hover & Lightbox */
.nk-gallery-item {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nk-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 56, 43, 0.12);
}
.nk-gallery-item img {
    transition: transform 0.35s ease;
}
.nk-gallery-item:hover img {
    transform: scale(1.04);
}
.nk-gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 56, 43, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}
.nk-gallery-item:hover .nk-gallery-hover {
    opacity: 1;
}

/* Lightbox Navigation Controls */
.nk-lightbox-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}
.nk-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
}
.nk-lightbox-nav:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(31, 56, 43, 0.25);
}
.nk-lightbox-nav:active {
    transform: translateY(-50%) scale(0.96);
}
.nk-lightbox-prev {
    left: 12px;
}
.nk-lightbox-next {
    right: 12px;
}
@media (max-width: 575px) {
    .nk-lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
    .nk-lightbox-prev {
        left: 6px;
    }
    .nk-lightbox-next {
        right: 6px;
    }
}
.nk-lightbox-counter {
    background: rgba(31, 56, 43, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

/* Guest Active Order Navbar Button */
.nk-active-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(184, 134, 11, 0.12);
    border: 1px solid rgba(184, 134, 11, 0.35);
    color: var(--ink);
    padding: 6px 13px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.nk-active-order-btn:hover {
    background: rgba(184, 134, 11, 0.22);
    color: var(--primary);
    transform: translateY(-1px);
}
.nk-active-order-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97706;
    display: inline-block;
    animation: nkOrderPulse 1.8s infinite;
}
@keyframes nkOrderPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* Order Status Badges */
.nk-order-status-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.nk-status-new { background: #e0f2fe; color: #0369a1; }
.nk-status-confirm { background: #fef3c7; color: #b45309; }
.nk-status-paid { background: #e7f6ec; color: #166534; }
.nk-status-cancel { background: #fbeae8; color: #991b1b; }

/* Drawer Active Order Banner */
.nk-active-order-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 14px;
}

/* Order Tracker Stepper */
.nk-stepper-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 20px 0 10px;
}
.nk-stepper-track::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border);
    z-index: 1;
}
.nk-stepper-progress {
    position: absolute;
    top: 18px;
    left: 40px;
    height: 3px;
    background: var(--primary);
    z-index: 2;
    transition: width 0.4s ease;
}
.nk-step-node {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
}
.nk-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}
.nk-step-node.completed .nk-step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}
.nk-step-node.active .nk-step-icon {
    background: #b45309;
    border-color: #b45309;
    color: #FFFFFF;
    box-shadow: 0 0 0 5px rgba(180, 83, 9, 0.2);
    animation: nkOrderPulse 1.8s infinite;
}
.nk-step-title {
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 6px;
    color: var(--ink-muted);
}
.nk-step-node.completed .nk-step-title,
.nk-step-node.active .nk-step-title {
    color: var(--ink);
    font-weight: 700;
}
.nk-step-node.active .nk-step-title {
    color: #b45309;
}

/* Floating Current Order Widget (Floating Cart for Placed Order) */
.nk-floating-order {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1035;
    background: var(--primary, #1F382B);
    color: #FFFFFF;
    border: 1px solid rgba(212, 163, 89, 0.45);
    border-radius: 9999px;
    padding: 10px 18px 10px 14px;
    box-shadow: 0 10px 30px rgba(31, 56, 43, 0.42), 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideUpFloatingOrder 0.35s ease;
    user-select: none;
    text-decoration: none !important;
}
.nk-floating-order:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(31, 56, 43, 0.52), 0 4px 14px rgba(0,0,0,0.22);
    border-color: rgba(212, 163, 89, 0.85);
    color: #FFFFFF;
}
@keyframes slideUpFloatingOrder {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.nk-floating-order-icon-box {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent, #D4A359);
    flex-shrink: 0;
}
.nk-floating-order-icon-box .nk-active-order-dot {
    position: absolute;
    top: 0px;
    right: 0px;
}
.nk-floating-order-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.nk-floating-order-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.nk-floating-order-meta {
    font-size: 12.5px;
    font-weight: 600;
    color: #FFFFFF;
}
.nk-floating-order-arrow {
    margin-left: 2px;
    flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .nk-floating-order {
        bottom: 16px;
        left: 16px;
        right: 16px;
        justify-content: space-between;
        padding: 10px 16px;
        border-radius: 16px;
    }
    .nk-floating-order.has-cart-dock {
        bottom: 74px;
    }
}


