/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-link {
    color: var(--gray-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.breadcrumb-link:hover {
    color: var(--chefmike-orange);
}

.breadcrumb-current {
    color: var(--chefmike-charcoal);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.breadcrumbs i.fa-chevron-right {
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* Recipe Page */
.recipe-page {
    min-height: 100vh;
    background: var(--gray-50);
    padding-bottom: 4rem;
}

.recipe-page .container,
.recipe-page .cooking-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem 1rem
}

.cooking-container {
    max-width: 1400px !important;
}

/* Loading & Error States */
.recipe-loading, .recipe-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    gap: 1rem
}

.recipe-error i {
    font-size: 3rem;
    color: var(--chefmike-orange);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(232,93,51,.1);
    border-top-color: var(--chefmike-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* Header Actions */
.recipe-header {
    margin-bottom: 1.5rem
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.header-actions-right {
    display: flex;
    gap: .5rem
}

.btn-back, .btn-action, .btn-cooking, .btn-clear-checks {
    height: var(--btn-h);
    padding: 0 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: .5rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: all .2s;
    white-space: nowrap;
}

.btn-back:hover, .btn-action:hover, .btn-clear-checks:hover {
    background: var(--gray-100);
    border-color: var(--gray-400)
}

.btn-cooking {
    background: var(--chefmike-orange);
    color: white !important;
    border-color: var(--chefmike-orange);
}

.btn-cooking i,
.btn-cooking .btn-text {
    color: white !important;
}

.btn-cooking:hover {
    background: var(--chefmike-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 51, 0.3);
}

.btn-cooking.active {
    background: var(--chefmike-charcoal);
    border-color: var(--chefmike-charcoal);
    color: white !important;
}

.btn-cooking.active:hover {
    background: var(--gray-800);
}

.btn-clear-checks {
    padding: 0 0.75rem;
    font-size: 0.85rem;
}

/* Cooking Mode Progress */
.cooking-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    max-width: 300px;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--chefmike-charcoal);
}

.progress-bar-container {
    height: 8px;
    background: var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--chefmike-orange);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Cooking Mode Header */
.cooking-mode-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.cooking-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin: 0 0 0.75rem;
}

.cooking-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cooking-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.cooking-meta-item i {
    color: var(--chefmike-orange);
}

/* Hero Image */
.recipe-hero-container {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.recipe-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Title Section */
.recipe-title-section {
    margin-bottom: 1.5rem
}

.recipe-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin: 0 0 .75rem;
    line-height: 1.2
}

.recipe-summary {
    font-size: 1.0625rem;
    color: var(--gray-700);
    margin: 0 0 1rem;
    line-height: 1.6
}

.recipe-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem
}

.meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.meta-item i {
    color: var(--chefmike-orange)
}

/* Author */
.recipe-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .65rem .75rem;
    background: rgba(168,213,213,.10);
    border-radius: .75rem;
    width: fit-content;
    border: 1px solid var(--gray-300)
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--chefmike-mint)
}

.author-text {
    font-size: .875rem;
    color: var(--gray-700)
}

.author-link {
    color: var(--chefmike-orange);
    text-decoration: none;
    font-weight: 700
}

.author-link:hover {
    color: var(--chefmike-orange-dark);
    text-decoration: underline
}

/* Badges */
.recipe-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: .5rem;
    font-size: .85rem;
    font-weight: 700;
    border: 1px solid transparent;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all .2s;
    cursor: pointer;
}

.badge i {
    font-size: 1rem
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Badge concept colors now in components.css using tokens.css variables */

/* Tags */
.recipe-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .8rem;
    color: var(--gray-700);
    background: transparent;
    border: 1px solid var(--gray-300);
    transition: all .2s;
    cursor: pointer
}

.pill:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-1px)
}

/* Description */
.recipe-description-wrapper {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: .75rem;
    overflow: hidden;
    background: var(--bg-secondary)
}

.recipe-description-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 1.25rem;
    background: var(--gray-100);
    cursor: pointer;
    font-weight: 700;
    color: var(--chefmike-charcoal);
    transition: background .2s;
    list-style: none
}

.recipe-description-toggle::-webkit-details-marker {
    display: none
}

.recipe-description-toggle:hover {
    background: var(--gray-200)
}

.recipe-description-toggle i {
    transition: transform .25s
}

details[open] .recipe-description-toggle i {
    transform: rotate(180deg)
}

.recipe-description {
    padding: 1.25rem;
    line-height: 1.75;
    color: var(--text-secondary);
    background: var(--bg-secondary)
}

/* Content Grid - View Mode (single column, readable) */
.recipe-content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.25rem
}

/* Content Grid - Cook Mode (2 columns, functional) */
.cooking-mode .recipe-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

/* Sections */
.ingredients-section, .instructions-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem
}

.sticky-ingredients {
    position: sticky;
    top: 1rem;
    align-self: start;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.section-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--chefmike-charcoal)
}

.section-title i {
    color: var(--chefmike-orange)
}

/* Ingredients */
.ingredients-container {
    display: block
}

.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.ingredient-item {
    padding: .5rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 0.75rem;
    align-items: start;
    transition: opacity 0.3s;
}

.ingredient-item:last-child {
    border-bottom: none
}

.ingredient-item.checked {
    opacity: 0.4;
}

.ingredient-item.checked .ingredient-name {
    text-decoration: line-through;
}

.ingredient-checkbox-wrapper {
    flex-shrink: 0;
    margin-top: 0.2rem;
    cursor: pointer;
    position: relative;
    display: block;
}

.ingredient-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-default);
    border-radius: 4px;
    background: var(--bg-secondary);
    transition: all 0.2s;
}

.ingredient-checkbox:checked ~ .checkbox-custom {
    background: var(--chefmike-orange);
    border-color: var(--chefmike-orange);
}

.ingredient-checkbox:checked ~ .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Inline ingredient layout: "2 tbsp olive oil, minced" */
.ingredient-text {
    display: inline;
    line-height: 1.6;
    flex: 1;
}

.ingredient-quantity {
    font-weight: 700;
    color: var(--chefmike-orange);
    margin-right: .125rem;
}

.ingredient-unit {
    font-weight: 600;
    color: var(--chefmike-orange);
    margin-right: .35rem;
}

.ingredient-name {
    color: var(--text-primary);
    font-weight: 500;
}

.ingredient-prep {
    color: var(--text-secondary);
    font-style: italic;
}

/* Legacy - kept for backwards compatibility */
.ingredient-note-row {
    margin-top: .35rem;
    font-size: .875rem;
    color: var(--gray-600);
    font-style: italic
}

/* Instructions */
.instructions-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.instruction-item {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 1rem;
    transition: opacity 0.3s;
}

.instruction-item:last-child {
    border-bottom: none
}

.instruction-item.checked {
    opacity: 0.5;
}

.instruction-item.checked .instruction-action {
    text-decoration: line-through;
}

/* Current step in cooking mode */
.instruction-item.current-step {
    background: rgba(232, 93, 51, 0.08);
    border: 2px solid var(--chefmike-orange);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0.5rem 0;
}

.instruction-item.current-step .instruction-step-number {
    transform: scale(1.1);
}

.step-checkbox-wrapper {
    flex-shrink: 0;
    margin-top: 0.2rem;
    cursor: pointer;
    position: relative;
    display: block;
}

.step-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Step checkbox custom styling */
.step-checkbox-wrapper .checkbox-custom {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    transition: all 0.2s;
    position: relative;
}

.step-checkbox:checked ~ .checkbox-custom {
    background: var(--chefmike-orange);
    border-color: var(--chefmike-orange);
}

.step-checkbox:checked ~ .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.step-checkbox-wrapper:hover .checkbox-custom {
    border-color: var(--chefmike-orange);
}

.instruction-step-number {
    flex-shrink: 0;
    height: 28px;
    min-width: 44px;
    padding: 0 .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chefmike-orange);
    color: white;
    border-radius: 999px;
    font-weight: 800;
    font-size: .8125rem;
    line-height: 1
}

.instruction-content {
    flex: 1
}

.instruction-action {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin: 0 0 .35rem
}

.instruction-detail {
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0 0 .5rem
}

.instruction-meta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap
}

.instruction-meta-item {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: var(--gray-600)
}

.instruction-meta-item i {
    color: var(--chefmike-orange)
}

/* Tips, Alerts, Nutrition */
.tips-section, .alerts-section, .nutrition-section {
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: .9rem
}

.tip-card {
    padding: 1rem;
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 0 .5rem .5rem 0
}

.tip-title {
    font-size: 1rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 .35rem
}

.tip-text {
    font-size: .95rem;
    color: #15803d;
    line-height: 1.6;
    margin: 0
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: .65rem
}

.alert {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1rem;
    border-radius: .5rem;
    font-size: .95rem
}

.alert i {
    flex-shrink: 0;
    font-size: 1.15rem
}

.alert-allergen {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b
}

.alert-allergen i {
    color: #b45309
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border-left: 4px solid #0ea5e9
}

.alert-info i {
    color: #0284c7
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b
}

.alert-nutrition {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid #22c55e
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444
}

.nutrition-subtitle {
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-left: .5rem
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: .9rem;
    grid-auto-flow: row dense
}

.nutrition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: .75rem;
    text-align: center
}

.nutrition-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin-bottom: .5rem
}

.nutrition-icon i {
    font-size: 1.25rem;
    color: var(--chefmike-orange)
}

.nutrition-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin-bottom: .15rem
}

.nutrition-unit {
    font-size: .95rem;
    color: var(--gray-600)
}

.nutrition-label {
    font-size: .85rem;
    color: var(--gray-600);
    font-weight: 600
}

/* Cook Navigation Bar - Fixed bottom navigation for cooking mode */
.cook-nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.cook-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cook-nav-btn:hover:not(:disabled) {
    background: var(--hover-bg);
    border-color: var(--chefmike-orange);
}

.cook-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cook-nav-btn.cook-nav-primary {
    background: var(--chefmike-orange);
    border-color: var(--chefmike-orange);
    color: white;
}

.cook-nav-btn.cook-nav-primary:hover:not(:disabled) {
    background: var(--chefmike-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 51, 0.3);
}

.cook-nav-indicator {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Add bottom padding to recipe page when cook-nav-bar is visible */
.cooking-mode .recipe-page,
.cooking-mode .cooking-container {
    padding-bottom: 5rem;
}

/* Ensure cooking mode content is visible */
.cooking-mode .section-title {
    color: var(--text-primary);
}

.cooking-mode .instruction-action {
    color: var(--text-primary);
}

.cooking-mode .instruction-detail {
    color: var(--text-secondary);
}

.cooking-mode .ingredient-name {
    color: var(--text-primary);
}

.cooking-mode .cooking-title {
    color: var(--text-primary);
}

.cooking-mode .cooking-meta-item {
    color: var(--text-secondary);
}

/* Responsive */
@media(max-width:1024px) {
    .cooking-mode .recipe-content-grid {
        grid-template-columns: 280px 1fr;
    }
}

@media(max-width:900px) {
    .cooking-mode .recipe-content-grid {
        display: flex;
        flex-direction: column;
    }

    .sticky-ingredients {
        position: static;
        max-height: none;
    }
}

@media(max-width:768px) {
    .breadcrumbs {
        font-size: 0.8rem;
    }

    .breadcrumb-current {
        max-width: 150px;
    }

    .recipe-page .container,
    .recipe-page .cooking-container {
        padding: 1rem
    }

    .recipe-title {
        font-size: 1.75rem
    }

    .cooking-title {
        font-size: 1.5rem;
    }

    .recipe-summary {
        font-size: 1rem
    }

    .btn-text {
        display: none
    }

    .btn-back, .btn-action, .btn-cooking {
        padding: 0 .75rem;
        min-width: 44px;
        justify-content: center
    }

    .cooking-progress {
        max-width: 100%;
    }

    .cooking-mode .recipe-content-grid {
        gap: 1.25rem
    }

    .section-title {
        font-size: 1.2rem
    }

    .ingredient-main-row {
        grid-template-columns: 1fr
    }

    .ingredient-quantity {
        gap: .25rem
    }

    .ingredient-note-row {
        margin-top: .4rem
    }

    .tips-grid {
        grid-template-columns: 1fr
    }

    .nutrition-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .cooking-meta {
        font-size: 0.85rem;
    }
}

@media print {
    .breadcrumbs,
    .header-actions,
    .recipe-badges-row,
    .recipe-tags-row,
    .tips-section,
    .btn-cooking,
    .btn-back,
    .btn-action {
        display: none !important;
    }

    .recipe-page {
        background: var(--bg-secondary);
    }

    .recipe-content-grid {
        display: block;
    }

    .ingredients-section,
    .instructions-section {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

[data-theme="dark"] .recipe-page {
    background: var(--bg-primary);
}

[data-theme="dark"] .breadcrumb-current {
    color: var(--text-primary);
}

[data-theme="dark"] .btn-back,
[data-theme="dark"] .btn-action,
[data-theme="dark"] .btn-clear-checks {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-back:hover,
[data-theme="dark"] .btn-action:hover,
[data-theme="dark"] .btn-clear-checks:hover {
    background: var(--hover-bg);
}

[data-theme="dark"] .progress-text {
    color: var(--text-primary);
}

[data-theme="dark"] .cooking-title,
[data-theme="dark"] .recipe-title,
[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .recipe-summary,
[data-theme="dark"] .meta-item,
[data-theme="dark"] .cooking-meta-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .author-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .author-link {
    color: var(--chefmike-orange-light);
}

[data-theme="dark"] .author-link:hover {
    color: var(--chefmike-orange);
}

[data-theme="dark"] .recipe-description-toggle {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

[data-theme="dark"] .recipe-description-toggle:hover {
    background: var(--hover-bg);
}

[data-theme="dark"] .recipe-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .ingredient-name,
[data-theme="dark"] .ingredient-unit {
    color: var(--text-primary);
}

[data-theme="dark"] .ingredient-note-row,
[data-theme="dark"] .instruction-detail,
[data-theme="dark"] .instruction-meta-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .instruction-action {
    color: var(--text-primary);
}

[data-theme="dark"] .tip-title {
    color: var(--text-primary);
}

[data-theme="dark"] .tip-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .nutrition-value {
    color: var(--text-primary);
}

[data-theme="dark"] .nutrition-unit,
[data-theme="dark"] .nutrition-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .nutrition-card {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .nutrition-icon {
    background: var(--bg-secondary);
}

[data-theme="dark"] .pill {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .pill:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-heavy);
}
