/* ============================================================
GLOBAL TOKENS
============================================================ */
        .chikfila-calculator-root {
            /* page */
            --page-bg: #f5f5f7;
            --nav-h: 60px;

            /* calculator dark theme */
            --bg0: #0c0c18;
            --bg1: #11111f;
            --bg2: #181828;
            --bg3: #1e1e30;
            --bdr: rgba(255, 255, 255, .07);
            --bdr-hi: rgba(255, 255, 255, .13);
            --t1: #e8e8f0;
            --t2: #8888aa;
            --t3: #55557a;

            /* brand */
            --red: #e4002b;
            --red-dim: rgba(228, 0, 43, .2);
            --red-hi: #ff3355;

            /* macros */
            --pro: #ff7a3d;
            --carb: #4da6ff;
            --fat: #ffe066;
            --fiber: #86efac;
            --sodium: #a78bfa;

            /* layout */
            --calc-h: 680px;
            --sidebar-w: 200px;
            --right-w: 268px;
            --r: 12px;
            --r-sm: 8px;
            --rpill: 999px;

            /* safe areas */
            --safe-bot: env(safe-area-inset-bottom, 0px);
            --safe-top: env(safe-area-inset-top, 0px);
        }

        /* ============================================================
RESET
============================================================ */
        .chikfila-calculator-root *,
.chikfila-calculator-root *::before,
.chikfila-calculator-root *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .chikfila-calculator-root {
            scroll-behavior: smooth;
        }

        /* KEY FIX: body scrolls normally */
        .chikfila-calculator-root {
            font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--page-bg);
            color: #222;
            /* NO overflow:hidden here - page must scroll freely */
            min-height: 100vh;
        }

        .chikfila-calculator-root button {
            font-family: inherit;
            cursor: pointer;
        }

        .chikfila-calculator-root input {
            font-family: inherit;
        }

        /* ============================================================
TOP NAVBAR
============================================================ */
        .chikfila-calculator-root .site-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #fff;
            border-bottom: 1px solid #e5e5e5;
            height: var(--nav-h);
            display: flex;
            align-items: center;
            padding: 0 32px;
            gap: 16px;
        }

        .chikfila-calculator-root .nav-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: inherit;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .nav-brand-logo {
            width: 36px;
            height: 36px;
            background: var(--red);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .chikfila-calculator-root .nav-brand-name {
            font-size: 15px;
            font-weight: 700;
            color: #111;
            white-space: nowrap;
        }

        .chikfila-calculator-root .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-left: auto;
        }

        .chikfila-calculator-root .nav-links a {
            padding: 7px 14px;
            border-radius: var(--rpill);
            font-size: 13px;
            font-weight: 500;
            color: #555;
            text-decoration: none;
            transition: all .18s;
            white-space: nowrap;
        }

        .chikfila-calculator-root .nav-links a:hover {
            background: #f0f0f0;
            color: #111;
        }

        .chikfila-calculator-root .nav-links a.active {
            background: var(--red);
            color: #fff;
        }

        .chikfila-calculator-root .nav-hamburger {
            display: none;
            margin-left: auto;
            background: none;
            border: none;
            font-size: 22px;
            color: #333;
        }

        /* mobile nav menu */
        .chikfila-calculator-root .mobile-menu {
            display: none;
            position: fixed;
            top: var(--nav-h);
            left: 0;
            right: 0;
            background: #fff;
            border-bottom: 1px solid #e5e5e5;
            padding: 12px 20px 16px;
            flex-direction: column;
            gap: 4px;
            z-index: 999;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
        }

        .chikfila-calculator-root .mobile-menu.open {
            display: flex;
        }

        .chikfila-calculator-root .mobile-menu a {
            padding: 11px 16px;
            border-radius: var(--r-sm);
            font-size: 14px;
            font-weight: 500;
            color: #444;
            text-decoration: none;
            transition: all .15s;
        }

        .chikfila-calculator-root .mobile-menu a:hover {
            background: #f5f5f5;
            color: #111;
        }

        .chikfila-calculator-root .mobile-menu a.active {
            background: var(--red);
            color: #fff;
        }

        /* ============================================================
HERO SECTION
============================================================ */
        .chikfila-calculator-root .hero {
            background: linear-gradient(135deg, #c70023 0%, #e4002b 50%, #ff3b5c 100%);
            padding: 64px 32px 56px;
            text-align: center;
            color: #fff;
        }

        .chikfila-calculator-root .hero h1 {
            font-size: clamp(26px, 5vw, 48px);
            font-weight: 800;
            letter-spacing: -.5px;
            margin-bottom: 16px;
        }

        .chikfila-calculator-root .hero p {
            font-size: clamp(14px, 2.5vw, 17px);
            max-width: 580px;
            margin: 0 auto 40px;
            opacity: .9;
            line-height: 1.65;
        }

        .chikfila-calculator-root .hero-features {
            display: flex;
            justify-content: center;
            gap: clamp(16px, 4vw, 56px);
            flex-wrap: wrap;
        }

        .chikfila-calculator-root .hero-feat {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: #fff;
        }

        .chikfila-calculator-root .hero-feat .hf-icon {
            font-size: 32px;
            background: rgba(255, 255, 255, .15);
            border-radius: 50%;
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chikfila-calculator-root .hero-feat .hf-title {
            font-size: 14px;
            font-weight: 700;
        }

        .chikfila-calculator-root .hero-feat .hf-sub {
            font-size: 12px;
            opacity: .82;
        }

        /* ============================================================
CALCULATOR SECTION WRAPPER
============================================================ */
        .chikfila-calculator-root .calc-section {
            background: var(--bg0);
            /* no fixed height on the outer shell – let it size naturally */
        }

        .chikfila-calculator-root .calc-section-inner {
            max-width: 1400px;
            margin: 0 auto;
            /* The calculator app shell is a fixed-height flex container */
            height: var(--calc-h);
            display: flex;
            overflow: hidden;
            /* clips overflow INSIDE the calculator only */
        }

        /* ============================================================
SIDEBAR (inside calculator)
============================================================ */
        .chikfila-calculator-root .sidebar {
            width: var(--sidebar-w);
            background: var(--bg1);
            border-right: 1px solid var(--bdr);
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 16px 10px;
            overflow-y: auto;
            /* sidebar itself scrolls if many categories */
            flex-shrink: 0;
        }

        .chikfila-calculator-root .sidebar-lbl {
            font-size: 9px;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--t3);
            padding: 0 8px;
            margin-bottom: 4px;
        }

        .chikfila-calculator-root .cat-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 10px;
            border-radius: var(--r-sm);
            border: 1px solid transparent;
            background: transparent;
            color: var(--t2);
            text-align: left;
            width: 100%;
            transition: all .18s;
        }

        .chikfila-calculator-root .cat-btn:hover {
            background: rgba(255, 255, 255, .04);
            color: var(--t1);
        }

        .chikfila-calculator-root .cat-btn.active {
            background: var(--red-dim);
            border-color: rgba(228, 0, 43, .35);
            color: var(--t1);
        }

        .chikfila-calculator-root .cat-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .cat-name {
            font-size: 12px;
            font-weight: 600;
            display: block;
        }

        .chikfila-calculator-root .cat-sub {
            font-size: 9px;
            color: var(--t3);
            display: block;
            margin-top: 1px;
        }

        .chikfila-calculator-root .ic-entree {
            background: rgba(228, 0, 43, .16);
        }

        .chikfila-calculator-root .ic-sides {
            background: rgba(255, 165, 0, .16);
        }

        .chikfila-calculator-root .ic-salads {
            background: rgba(50, 200, 80, .16);
        }

        .chikfila-calculator-root .ic-sauces {
            background: rgba(77, 166, 255, .16);
        }

        .chikfila-calculator-root .ic-dressing {
            background: rgba(180, 80, 200, .16);
        }

        .chikfila-calculator-root .ic-drinks {
            background: rgba(0, 200, 200, .16);
        }

        .chikfila-calculator-root .ic-breakfast {
            background: rgba(255, 220, 50, .16);
        }

        .chikfila-calculator-root .ic-desserts {
            background: rgba(255, 100, 180, .16);
        }

        /* ============================================================
MAIN PANEL (inside calculator)
============================================================ */
        .chikfila-calculator-root .calc-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            /* inner sections scroll, not the main */
            min-width: 0;
            background: var(--bg0);
        }

        /* build header bar */
        .chikfila-calculator-root .build-hdr {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 13px 18px 11px;
            border-bottom: 1px solid var(--bdr);
            flex-shrink: 0;
        }

        .chikfila-calculator-root .build-title {
            font-size: 17px;
            font-weight: 700;
            color: var(--t1);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .chikfila-calculator-root .clear-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: rgba(228, 0, 43, .1);
            border: 1px solid rgba(228, 0, 43, .28);
            border-radius: var(--rpill);
            padding: 6px 12px;
            font-size: 12px;
            color: var(--red-hi);
            transition: all .18s;
        }

        .chikfila-calculator-root .clear-btn:hover {
            background: rgba(228, 0, 43, .22);
        }

        /* meal bowl */
        .chikfila-calculator-root .meal-bowl-wrap {
            padding: 11px 18px 10px;
            border-bottom: 1px solid var(--bdr);
            flex-shrink: 0;
        }

        .chikfila-calculator-root .bowl-label {
            font-size: 10px;
            letter-spacing: .6px;
            text-transform: uppercase;
            color: var(--t2);
            margin-bottom: 7px;
        }

        .chikfila-calculator-root .meal-bowl {
            background: var(--bg2);
            border: 1px dashed rgba(255, 255, 255, .1);
            border-radius: var(--r);
            /* KEY FIX: max-height + overflow-y so bowl scrolls when full */
            min-height: 58px;
            max-height: 90px;
            overflow-y: auto;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            padding: 7px;
            align-content: flex-start;
            transition: border-color .3s;
            -webkit-overflow-scrolling: touch;
        }

        .chikfila-calculator-root .meal-bowl.has-items {
            border-style: solid;
            border-color: var(--bdr-hi);
        }

        .chikfila-calculator-root .empty-bowl {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: var(--t3);
            font-size: 12px;
            padding: 6px;
        }

        .chikfila-calculator-root .meal-tag {
            display: flex;
            align-items: center;
            gap: 5px;
            background: var(--bg3);
            border: 1px solid var(--bdr-hi);
            border-radius: var(--rpill);
            padding: 4px 8px 4px 7px;
            font-size: 11px;
            color: var(--t1);
            animation: popIn .2s ease;
            flex-shrink: 0;
        }

        @keyframes popIn {
            from {
                opacity: 0;
                transform: scale(.75);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .chikfila-calculator-root .tag-name {
            font-weight: 500;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .chikfila-calculator-root .tag-cal {
            color: var(--t2);
            font-size: 10px;
        }

        .chikfila-calculator-root .tag-rm {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .07);
            border: none;
            color: var(--t2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            margin-left: 2px;
            transition: all .15s;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .tag-rm:hover {
            background: rgba(228, 0, 43, .35);
            color: var(--red-hi);
        }

        /* items section – THIS IS THE KEY SCROLLABLE AREA */
        .chikfila-calculator-root .items-section {
            flex: 1;
            overflow-y: auto;
            /* ← items list scrolls here */
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            padding: 13px 16px 16px;
        }

        .chikfila-calculator-root .items-hdr {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            color: var(--t2);
            margin-bottom: 11px;
        }

        /* search */
        .chikfila-calculator-root .search-wrap {
            position: relative;
            margin-bottom: 13px;
        }

        .chikfila-calculator-root .s-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 13px;
            color: var(--t3);
            pointer-events: none;
        }

        .chikfila-calculator-root .search-wrap input {
            width: 100%;
            background: var(--bg2);
            border: 1px solid var(--bdr);
            border-radius: var(--rpill);
            padding: 9px 14px 9px 36px;
            color: var(--t1);
            font-size: 13px;
            outline: none;
            transition: border-color .2s;
            -webkit-appearance: none;
        }

        .chikfila-calculator-root .search-wrap input::placeholder {
            color: var(--t3);
        }

        .chikfila-calculator-root .search-wrap input:focus {
            border-color: var(--red);
        }

        /* item grid */
        .chikfila-calculator-root .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 10px;
        }

        .chikfila-calculator-root .item-card {
            background: var(--bg2);
            border: 1px solid var(--bdr);
            border-radius: var(--r);
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 9px;
            transition: border-color .2s, transform .2s, box-shadow .2s;
        }

        .chikfila-calculator-root .item-card:hover {
            border-color: var(--bdr-hi);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
        }

        .chikfila-calculator-root .card-top {
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .chikfila-calculator-root .card-emo {
            font-size: 19px;
            line-height: 1;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .card-name {
            font-size: 12px;
            font-weight: 600;
            color: var(--t1);
            flex: 1;
            line-height: 1.35;
        }

        .chikfila-calculator-root .card-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--red);
            box-shadow: 0 0 5px var(--red-dim);
            flex-shrink: 0;
            margin-top: 4px;
        }

        .chikfila-calculator-root .card-macros {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3px;
        }

        .chikfila-calculator-root .mpill {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .chikfila-calculator-root .mpill-lbl {
            font-size: 8px;
            color: var(--t3);
            text-transform: uppercase;
            letter-spacing: .3px;
        }

        .chikfila-calculator-root .mpill-val {
            font-size: 12px;
            font-weight: 700;
        }

        .chikfila-calculator-root .mpill.cal .mpill-val {
            color: var(--t1);
        }

        .chikfila-calculator-root .mpill.pro .mpill-val {
            color: var(--pro);
        }

        .chikfila-calculator-root .mpill.carb .mpill-val {
            color: var(--carb);
        }

        .chikfila-calculator-root .mpill.fat .mpill-val {
            color: var(--fat);
        }

        .chikfila-calculator-root .card-actions {
            display: flex;
            gap: 7px;
            align-items: center;
        }

        .chikfila-calculator-root .qty-wrap {
            display: flex;
            background: var(--bg3);
            border: 1px solid var(--bdr);
            border-radius: var(--rpill);
            overflow: hidden;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .qty-btn {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            color: var(--t2);
            font-size: 16px;
            transition: all .15s;
        }

        .chikfila-calculator-root .qty-btn:hover {
            color: var(--t1);
            background: rgba(255, 255, 255, .07);
        }

        .chikfila-calculator-root .qty-num {
            width: 24px;
            text-align: center;
            font-size: 12px;
            font-weight: 700;
            color: var(--t1);
            line-height: 30px;
        }

        .chikfila-calculator-root .add-btn {
            flex: 1;
            background: var(--red);
            border: none;
            border-radius: var(--rpill);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            padding: 7px 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: all .18s;
            min-height: 30px;
        }

        .chikfila-calculator-root .add-btn:hover {
            background: #c5001f;
            box-shadow: 0 4px 14px rgba(228, 0, 43, .4);
        }

        .chikfila-calculator-root .add-btn:active {
            transform: scale(.96);
        }

        /* ============================================================
RIGHT PANEL (inside calculator)
============================================================ */
        .chikfila-calculator-root .right-panel {
            width: var(--right-w);
            background: var(--bg1);
            border-left: 1px solid var(--bdr);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            /* right panel scrolls if content taller */
            flex-shrink: 0;
            -webkit-overflow-scrolling: touch;
        }

        .chikfila-calculator-root .rp-card {
            padding: 16px;
            border-bottom: 1px solid var(--bdr);
        }

        .chikfila-calculator-root .rp-card:last-child {
            border-bottom: none;
        }

        .chikfila-calculator-root .rp-title {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .9px;
            text-transform: uppercase;
            color: var(--t2);
            margin-bottom: 12px;
        }

        /* big calorie */
        .chikfila-calculator-root .cal-big {
            font-size: 46px;
            font-weight: 800;
            line-height: 1;
            text-align: center;
            color: var(--t1);
            font-variant-numeric: tabular-nums;
        }

        .chikfila-calculator-root .cal-lbl {
            font-size: 10px;
            color: var(--t2);
            text-align: center;
            margin-top: 2px;
        }

        .chikfila-calculator-root .cal-pct {
            font-size: 10px;
            color: var(--t3);
            text-align: center;
            margin-bottom: 12px;
            margin-top: 2px;
        }

        /* donut */
        .chikfila-calculator-root .donut-wrap {
            display: flex;
            justify-content: center;
            margin-bottom: 14px;
        }

        /* macro progress */
        .chikfila-calculator-root .m-row {
            margin-bottom: 11px;
        }

        .chikfila-calculator-root .m-row:last-child {
            margin-bottom: 0;
        }

        .chikfila-calculator-root .m-row-hdr {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 4px;
        }

        .chikfila-calculator-root .m-lbl {
            font-size: 11px;
            font-weight: 600;
        }

        .chikfila-calculator-root .m-lbl.pro {
            color: var(--pro);
        }

        .chikfila-calculator-root .m-lbl.carb {
            color: var(--carb);
        }

        .chikfila-calculator-root .m-lbl.fat {
            color: var(--fat);
        }

        .chikfila-calculator-root .m-val {
            font-size: 11px;
            font-weight: 700;
            color: var(--t1);
        }

        .chikfila-calculator-root .prog-bar {
            height: 5px;
            background: rgba(255, 255, 255, .05);
            border-radius: 3px;
            overflow: hidden;
        }

        .chikfila-calculator-root .prog-fill {
            height: 100%;
            border-radius: 3px;
            transition: width .4s cubic-bezier(.25, .46, .45, .94);
        }

        .chikfila-calculator-root .prog-fill.pro {
            background: linear-gradient(90deg, var(--pro), #ffaa80);
        }

        .chikfila-calculator-root .prog-fill.carb {
            background: linear-gradient(90deg, var(--carb), #80ccff);
        }

        .chikfila-calculator-root .prog-fill.fat {
            background: linear-gradient(90deg, var(--fat), #fff080);
        }

        .chikfila-calculator-root .m-pct {
            font-size: 9px;
            color: var(--t3);
            text-align: right;
            margin-top: 2px;
        }

        /* nutrition details */
        .chikfila-calculator-root .nd-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 0;
            border-bottom: 1px solid var(--bdr);
            font-size: 12px;
        }

        .chikfila-calculator-root .nd-row:last-child {
            border-bottom: none;
        }

        .chikfila-calculator-root .nd-name {
            color: var(--t2);
        }

        .chikfila-calculator-root .nd-val {
            font-weight: 700;
        }

        .chikfila-calculator-root .nd-val.cal {
            color: var(--t1);
        }

        .chikfila-calculator-root .nd-val.pro {
            color: var(--pro);
        }

        .chikfila-calculator-root .nd-val.carb {
            color: var(--carb);
        }

        .chikfila-calculator-root .nd-val.fat {
            color: var(--fat);
        }

        .chikfila-calculator-root .nd-val.fiber {
            color: var(--fiber);
        }

        .chikfila-calculator-root .nd-val.sodium {
            color: var(--sodium);
        }

        /* summary */
        .chikfila-calculator-root .sum-empty {
            text-align: center;
            color: var(--t3);
            font-size: 11px;
            padding: 10px 0;
        }

        .chikfila-calculator-root .sum-item {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 5px 0;
            border-bottom: 1px solid var(--bdr);
            font-size: 11px;
            animation: popIn .2s ease;
        }

        .chikfila-calculator-root .sum-item:last-child {
            border-bottom: none;
        }

        .chikfila-calculator-root .sum-emo {
            font-size: 13px;
            flex-shrink: 0;
        }

        .chikfila-calculator-root .sum-name {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: var(--t1);
        }

        .chikfila-calculator-root .sum-cal {
            color: var(--t2);
            font-weight: 600;
            flex-shrink: 0;
        }

        /* ============================================================
PAGE CONTENT SECTIONS
============================================================ */
        .chikfila-calculator-root .page-content {
            background: #fff;
        }

        .chikfila-calculator-root .content-section {
            max-width: 900px;
            margin: 0 auto;
            padding: 56px 32px;
        }

        .chikfila-calculator-root .content-section+.content-section {
            border-top: 1px solid #ebebeb;
        }

        /* what is section */
        .chikfila-calculator-root .what-section h2 {
            font-size: clamp(20px, 3vw, 28px);
            font-weight: 700;
            margin-bottom: 16px;
            color: #111;
        }

        .chikfila-calculator-root .what-section p {
            font-size: 15px;
            line-height: 1.75;
            color: #444;
            margin-bottom: 14px;
        }

        .chikfila-calculator-root .what-section p:last-child {
            margin-bottom: 0;
        }

        /* how to use */
        .chikfila-calculator-root .how-section {
            background: #f9f9fb;
        }

        .chikfila-calculator-root .how-section .content-section {
            max-width: 1100px;
        }

        .chikfila-calculator-root .how-section h2 {
            font-size: clamp(20px, 3vw, 28px);
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
            color: #111;
        }

        .chikfila-calculator-root .how-section .how-sub {
            text-align: center;
            color: #666;
            font-size: 14px;
            margin-bottom: 36px;
        }

        .chikfila-calculator-root .how-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .chikfila-calculator-root .how-step {
            background: #fff;
            border: 1px solid #e8e8e8;
            border-radius: var(--r);
            padding: 24px 20px;
        }

        .chikfila-calculator-root .step-num {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--red);
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
        }

        .chikfila-calculator-root .how-step h3 {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #111;
        }

        .chikfila-calculator-root .how-step p {
            font-size: 13px;
            color: #555;
            line-height: 1.6;
        }

        /* benefits */
        .chikfila-calculator-root .benefits-section h2 {
            font-size: clamp(20px, 3vw, 26px);
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .chikfila-calculator-root .benefits-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .chikfila-calculator-root .benefits-list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 15px;
            color: #444;
            line-height: 1.65;
        }

        .chikfila-calculator-root .benefits-list li::before {
            content: '✓';
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: rgba(228, 0, 43, .1);
            color: var(--red);
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .chikfila-calculator-root .benefits-list li strong {
            color: #111;
        }

        /* further readings */
        .chikfila-calculator-root .further-section {
            background: #f9f9fb;
        }

        .chikfila-calculator-root .further-section .content-section {
            max-width: 700px;
        }

        .chikfila-calculator-root .further-hdr {
            text-align: center;
            margin-bottom: 32px;
        }

        .chikfila-calculator-root .further-hdr .fr-icon {
            font-size: 32px;
            margin-bottom: 8px;
        }

        .chikfila-calculator-root .further-hdr h2 {
            font-size: clamp(20px, 3vw, 28px);
            font-weight: 700;
            color: #111;
            margin-bottom: 10px;
        }

        .chikfila-calculator-root .further-hdr p {
            font-size: 14px;
            color: #555;
            line-height: 1.65;
            max-width: 520px;
            margin: 0 auto;
        }

        .chikfila-calculator-root .fr-cards {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .chikfila-calculator-root .fr-card {
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: var(--r);
            padding: 20px 24px;
        }

        .chikfila-calculator-root .fr-card-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 700;
            color: #111;
            margin-bottom: 12px;
        }

        .chikfila-calculator-root .fr-card-title .fc-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--red);
            flex-shrink: 0;
        }

        .chikfila-calculator-root .fr-links {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .chikfila-calculator-root .fr-links a {
            font-size: 14px;
            color: var(--red);
            text-decoration: none;
            transition: color .15s;
            padding: 2px 0;
        }

        .chikfila-calculator-root .fr-links a:hover {
            color: #c5001f;
            text-decoration: underline;
        }

        /* ============================================================
FOOTER
============================================================ */
        .chikfila-calculator-root .site-footer {
            background: #111;
            color: #888;
            text-align: center;
            padding: 28px 24px;
            font-size: 13px;
        }

        .chikfila-calculator-root .site-footer a {
            color: var(--red);
            text-decoration: none;
        }

        .chikfila-calculator-root .site-footer a:hover {
            text-decoration: underline;
        }

        /* ============================================================
SCROLLBAR INSIDE CALCULATOR
============================================================ */
        .items-section::-webkit-scrollbar,
        .right-panel::-webkit-scrollbar,
        .meal-bowl::-webkit-scrollbar,
        .chikfila-calculator-root .sidebar::-webkit-scrollbar {
            width: 3px;
        }

        .items-section::-webkit-scrollbar-thumb,
        .right-panel::-webkit-scrollbar-thumb,
        .meal-bowl::-webkit-scrollbar-thumb,
        .chikfila-calculator-root .sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, .1);
            border-radius: 2px;
        }

        /* ============================================================
GOAL MODAL
============================================================ */
        .chikfila-calculator-root .modal-ov {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .55);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: opacity .22s;
            padding: 20px;
        }

        .chikfila-calculator-root .modal-ov.open {
            opacity: 1;
            pointer-events: all;
        }

        .chikfila-calculator-root .modal {
            background: var(--bg2);
            border: 1px solid var(--bdr-hi);
            border-radius: var(--r);
            padding: 24px;
            width: 100%;
            max-width: 320px;
            transform: translateY(16px);
            transition: transform .22s;
        }

        .chikfila-calculator-root .modal-ov.open .modal {
            transform: translateY(0);
        }

        .chikfila-calculator-root .modal h3 {
            font-size: 15px;
            color: var(--t1);
            margin-bottom: 14px;
        }

        .chikfila-calculator-root .modal label {
            font-size: 11px;
            color: var(--t2);
            display: block;
            margin-bottom: 5px;
        }

        .chikfila-calculator-root .modal input {
            width: 100%;
            background: var(--bg1);
            border: 1px solid var(--bdr);
            border-radius: var(--r-sm);
            padding: 10px 12px;
            color: var(--t1);
            font-size: 15px;
            outline: none;
            margin-bottom: 14px;
            -webkit-appearance: none;
        }

        .chikfila-calculator-root .modal input:focus {
            border-color: var(--red);
        }

        .chikfila-calculator-root .modal-foot {
            display: flex;
            gap: 8px;
            justify-content: flex-end;
        }

        .chikfila-calculator-root .modal-cancel {
            background: rgba(255, 255, 255, .06);
            border: 1px solid var(--bdr);
            border-radius: var(--r-sm);
            padding: 9px 18px;
            color: var(--t2);
            font-size: 13px;
        }

        .chikfila-calculator-root .modal-save {
            background: var(--red);
            border: none;
            border-radius: var(--r-sm);
            padding: 9px 18px;
            color: #fff;
            font-size: 13px;
            font-weight: 700;
        }

        .chikfila-calculator-root .modal-save:hover {
            background: #c5001f;
        }

        /* ============================================================
TOAST
============================================================ */
        .chikfila-calculator-root .toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: var(--bg3);
            border: 1px solid var(--bdr-hi);
            border-radius: var(--rpill);
            padding: 9px 20px;
            font-size: 12px;
            color: var(--t1);
            pointer-events: none;
            opacity: 0;
            transition: all .28s;
            z-index: 3000;
            white-space: nowrap;
            max-width: calc(100vw - 40px);
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .chikfila-calculator-root .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* ============================================================
RESPONSIVE — TABLETS (641–900px)
============================================================ */
        @media(max-width:900px) {
            .chikfila-calculator-root {
                --sidebar-w: 52px;
                --right-w: 240px;
            }

            .cat-name,
            .cat-sub,
            .chikfila-calculator-root .sidebar-lbl {
                display: none;
            }

            .chikfila-calculator-root .cat-btn {
                justify-content: center;
                padding: 8px 0;
            }

            .chikfila-calculator-root .calc-section-inner {
                height: calc(var(--calc-h) + 40px);
            }
        }

        /* ============================================================
RESPONSIVE — MOBILE (≤640px)
KEY: calculator becomes a tall scrollable block, NOT a fixed-height app
============================================================ */
        @media(max-width:640px) {
            .chikfila-calculator-root {
                --calc-h: auto;
                /* remove fixed height on mobile */
                --nav-h: 56px;
            }

            /* navbar */
            .chikfila-calculator-root .nav-links {
                display: none;
            }

            .chikfila-calculator-root .nav-hamburger {
                display: block;
            }

            /* hero */
            .chikfila-calculator-root .hero {
                padding: 40px 20px 36px;
            }

            /* calculator: stack vertically, no overflow:hidden clipping, let page scroll */
            .chikfila-calculator-root .calc-section-inner {
                flex-direction: column;
                height: auto;
                /* ← KEY FIX: no fixed height on mobile */
                overflow: visible;
                /* ← KEY FIX: allow normal page scroll */
            }

            /* sidebar becomes a horizontal scroll row */
            .chikfila-calculator-root .sidebar {
                width: 100%;
                flex-direction: row;
                overflow-x: auto;
                overflow-y: hidden;
                padding: 10px 8px;
                border-right: none;
                border-bottom: 1px solid var(--bdr);
                height: auto;
                gap: 4px;
                scrollbar-width: none;
            }

            .chikfila-calculator-root .sidebar::-webkit-scrollbar {
                display: none;
            }

            .chikfila-calculator-root .cat-btn {
                flex-direction: column;
                justify-content: center;
                padding: 8px 12px;
                min-width: 60px;
                gap: 4px;
                flex-shrink: 0;
            }

            .chikfila-calculator-root .cat-icon {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }

            .chikfila-calculator-root .cat-name {
                display: block;
                font-size: 9px;
                text-align: center;
                white-space: nowrap;
            }

            .chikfila-calculator-root .cat-sub {
                display: none;
            }

            /* main panel: no overflow:hidden, let content grow */
            .chikfila-calculator-root .calc-main {
                overflow: visible;
                min-height: auto;
            }

            /* meal bowl - still scrollable internally */
            .chikfila-calculator-root .meal-bowl {
                max-height: 80px;
            }

            /* items section: remove overflow, show all items */
            .chikfila-calculator-root .items-section {
                overflow: visible;
                /* ← KEY FIX: items don't need inner scroll on mobile */
                padding: 12px 12px 20px;
                height: auto;
            }

            /* single column cards on mobile */
            .chikfila-calculator-root .items-grid {
                grid-template-columns: 1fr;
            }

            /* right panel: full width below */
            .chikfila-calculator-root .right-panel {
                width: 100%;
                border-left: none;
                border-top: 1px solid var(--bdr);
                overflow: visible;
                /* let it grow naturally */
                max-height: none;
            }

            /* page content */
            .chikfila-calculator-root .content-section {
                padding: 36px 20px;
            }

            .chikfila-calculator-root .how-steps {
                grid-template-columns: 1fr;
            }

            .chikfila-calculator-root .nav-brand-name {
                font-size: 13px;
            }

            /* hide toast on mobile since it's now a scrollable page */
            .chikfila-calculator-root .toast {
                bottom: 16px;
            }
        }

        /* landscape mobile: 2 columns */
        @media(max-width:640px) and (min-width:420px) {
            .chikfila-calculator-root .items-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
