.food-page-header {
    padding: 100px 0 0;
    border-bottom: 1px solid var(--border);
    background: var(--background);
}

.food-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.food-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.food-breadcrumb a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.food-title-block {
    padding-bottom: 24px;
}

.food-title-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.food-brand-link {
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 4px;
}

.food-brand-link:hover {
    text-decoration: underline;
}

.food-item-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

/* Main layout: two columns */
.food-content {
    padding: 32px 0 60px;
}

.food-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ===================== */
/* FDA Nutrition Label   */
/* ===================== */
.nf-label {
    border: 2px solid #000;
    padding: 4px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    max-width: 360px;
    background: #fff;
}

.nf-title {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin: 0 0 2px;
    line-height: 1;
}

.nf-line-thick {
    border: 0;
    height: 8px;
    background: #000;
    margin: 4px 0;
}

.nf-line-medium {
    border: 0;
    height: 4px;
    background: #000;
    margin: 2px 0;
}

.nf-line-thin {
    border: 0;
    height: 1px;
    background: #000;
    margin: 2px 0;
}

.nf-serving {
    font-size: 13px;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.nf-serving strong {
    font-weight: 700;
}

.nf-calories-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0;
}

.nf-calories-label {
    font-size: 13px;
    font-weight: 700;
    color: #000;
}

.nf-calories-value {
    font-size: 40px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.nf-dv-header {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-align: right;
    margin: 2px 0;
}

.nf-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    color: #000;
    padding: 2px 0;
}

.nf-row-indent {
    padding-left: 16px;
}

.nf-row-bold .nf-nutrient {
    font-weight: 700;
}

.nf-nutrient {
    font-weight: 400;
}

.nf-amount {
    font-weight: 400;
    margin-left: 4px;
}

.nf-dv {
    font-weight: 700;
}

.nf-footnote {
    font-size: 11px;
    color: #000;
    margin: 4px 0 0;
    line-height: 1.3;
}

/* ======================= */
/* Right column content    */
/* ======================= */

/* Nutrition summary boxes */
.nf-summary {
    margin-bottom: 24px;
}

.nf-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.nf-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.nf-summary-cell {
    text-align: center;
    padding: 14px 8px;
    border-right: 1px solid var(--border);
}

.nf-summary-cell:last-child {
    border-right: none;
}

.nf-summary-cell-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.nf-summary-cell-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Descriptive text block */
.nf-description {
    margin-bottom: 28px;
}

.nf-description p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 10px;
}

.nf-description strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Related items sections */
.nf-related-section {
    margin-bottom: 28px;
}

.nf-related-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.nf-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-related-list li {
    margin-bottom: 0;
}

.nf-related-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: #2563eb;
    font-size: 14px;
    transition: var(--transition);
}

.nf-related-list a:hover {
    color: var(--text-primary);
}

.nf-related-list .nf-related-cal {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 12px;
}

.nf-related-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}

.nf-related-more:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* App CTA */
.food-cta {
    background: var(--primary-gradient);
    padding: 28px 24px;
    border-radius: var(--border-radius);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.food-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.food-cta-inner {
    position: relative;
    z-index: 2;
}

.food-cta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.food-cta p {
    font-size: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Bottom section: other brands */
.other-brands-section {
    padding: 48px 0;
    background: var(--background-alt);
    border-top: 1px solid var(--border);
}

.other-brands-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Responsive */
@media (min-width: 768px) {
    .food-layout {
        grid-template-columns: 360px 1fr;
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .food-page-header {
        padding-top: 80px;
    }

    .food-item-name {
        font-size: 22px;
    }

    .nf-label {
        max-width: 100%;
    }

    .nf-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nf-summary-cell:nth-child(2) {
        border-right: none;
    }

    .nf-summary-cell:nth-child(1),
    .nf-summary-cell:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}
