/* Product discussions align with the product; the text keeps its reading width. */
.food-surface > .comments-container { margin-inline: 0; }

/* Lebensmittel: presentation belongs to the meska.me theme. */
.msk-food {
    width: 100%;
    min-width: 0;
    color: var(--msk-ink, #12152b);
    background: var(--msk-paper, #fff);
    font: 16px/1.65 var(--msk-sans, Montserrat, Arial, sans-serif);
}
.msk-food *,
.msk-food *::before,
.msk-food *::after { box-sizing: border-box; }
.msk-food [hidden] { display: none !important; }
.msk-food :is(h1, h2, h3, p, dl, figure) { margin: 0; }
.msk-food :is(h1, h2, h3) {
    color: var(--msk-ink, #12152b);
    font-family: var(--msk-sans, Montserrat, Arial, sans-serif);
    font-weight: 700;
    letter-spacing: -.035em;
}
.msk-food :is(input, select, textarea, button) { font-family: inherit; }
.msk-food :is(a, button, input, select):focus-visible {
    outline: var(--msk-focus-width,2px) solid var(--msk-focus-color,var(--msk-magenta,#cf0063));
    outline-offset: var(--msk-focus-offset,3px);
}
/* Catalog and products share the food masthead, including narrow-screen wrapping. */
body:is(.mb-view-food, .mb-view-food-product) .hero-copy .site-headline {
    hyphens: auto;
    overflow-wrap: anywhere;
}

/* Catalog controls share the theme's fields, colors and compact corners. */
.msk-food .mskfood-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
    gap: 16px;
    align-items: end;
    margin: 0 0 18px;
    padding: 0 0 23px;
    border-bottom: 1px solid var(--msk-line, #dedee5);
}
.msk-food .mskfood-toolbar label,
.msk-food .mskfood-barcode-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: var(--msk-ink, #12152b);
    font-size: 13px;
    font-weight: 600;
}
.msk-food .mskfood-search-field,
.msk-food .mskfood-scanner { grid-column: 1 / -1; }
.msk-food .mskfood-search-control { position: relative; min-width: 0; }
.msk-food .mskfood-toolbar .mskfood-suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    inset-inline: 0;
    max-height: min(24rem, 50vh);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 12px 28px #15172b1f;
}
.msk-food .mskfood-suggestions > li { margin: 0; padding: 0; border-bottom: 1px solid var(--msk-line, #dedee5); }
.msk-food .mskfood-suggestions > li:last-child { border-bottom: 0; }
.msk-food .mskfood-suggestions .mskfood-suggestion-link { display: grid; gap: 3px; min-height: 56px; padding: 11px 13px; color: var(--msk-ink, #12152b); text-decoration: none; overflow-wrap: anywhere; }
.msk-food .mskfood-suggestions .mskfood-suggestion-link:hover,
.msk-food .mskfood-suggestions > .is-active > .mskfood-suggestion-link { background: #f9edf3; color: var(--msk-magenta, #cf0063); text-decoration: none; }
.msk-food .mskfood-suggestion-name { font-size: 14px; font-weight: 600; line-height: 1.5; }
.msk-food .mskfood-suggestion-meta { color: #626575; font-size: 12px; font-weight: 400; line-height: 1.5; }
.msk-food .mskfood-toolbar :is(input:not([type="hidden"]):not([type="checkbox"]), select),
.msk-food .mskfood-barcode-form input{
    display: block;
    width: 100%;
    min-width: 0;
    min-height:var(--msk-control-height,48px);
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #aaa8b4;
    border-radius:var(--msk-control-radius,5px);
    background: #fff;
    color: var(--msk-ink, #12152b);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}
.msk-food input::placeholder { color: #626575; opacity: 1; }
.msk-food .mskfood-toolbar .button{ min-height:var(--msk-control-height,48px); white-space: nowrap; }
.msk-food .mskfood-properties {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.msk-food .mskfood-properties legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; }
.msk-food .mskfood-property-options { display: flex; flex-wrap: wrap; gap: 8px; }
.msk-food .mskfood-toolbar .mskfood-property{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 148px;
    min-height:var(--msk-control-height,48px);
    max-width: 100%;
    padding: 10px 18px;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius:var(--msk-control-radius,5px);
    background: #f7f6f8;
    color: var(--msk-ink, #12152b);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}
.msk-food .mskfood-toolbar .mskfood-property:hover { background: #eeecf1; }
.msk-food .mskfood-toolbar .mskfood-property:has(input:checked),
.msk-food .mskfood-toolbar .mskfood-type-shortcut.is-active {
    border-color: var(--msk-magenta, #cf0063);
    background: var(--msk-magenta, #cf0063);
    color: #fff;
}
.msk-food .mskfood-toolbar .mskfood-property:has(input:checked):hover,
.msk-food .mskfood-toolbar .mskfood-type-shortcut.is-active:hover { background: #b90059; border-color: #b90059; }
.msk-food .mskfood-toolbar .mskfood-type-shortcut:hover { text-decoration: none; }
.msk-food .mskfood-toolbar .mskfood-property:has(input:focus-visible) { outline: var(--msk-focus-width,2px) solid var(--msk-focus-color,var(--msk-magenta,#cf0063)); outline-offset: var(--msk-focus-offset,3px); }
.msk-food .mskfood-toolbar .mskfood-property input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.msk-food .mskfood-catalog-basis { color: #626575; font-size: 12px; line-height: 1.6; }
.msk-food .mskfood-scanner { display: none; min-width: 0; }
.msk-food .mskfood-scan-button { width: 100%; margin: 0; cursor: pointer; }
.msk-food dialog.mskfood-camera:not([open]) { display: none; }
.msk-food dialog.mskfood-camera {
    width: min(640px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius: 12px;
    background: #fff;
    color: var(--msk-ink, #12152b);
    box-shadow: 0 24px 80px #0006;
}
.msk-food dialog.mskfood-camera::backdrop { background: #0c0c1cbf; backdrop-filter: blur(6px); }
.msk-food .mskfood-camera-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.msk-food .mskfood-camera-heading h2 { font-size: 23px; line-height: 1.3; }

.msk-food .mskfood-video-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background: #12152b; }
.msk-food .mskfood-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.msk-food .mskfood-scan-guide { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.msk-food .mskfood-scan-guide span { width: 78%; height: 34%; border: 2px solid #fff; border-radius: 9px; box-shadow: 0 0 0 999px #0005; }
.msk-food [data-msk-food-scan-status] {
    color: #454858;
    font-size: 13px;
    line-height: 1.65;
}
.msk-food [data-msk-food-scan-status]:not(:empty) { margin-top: 12px; }
.msk-food .mskfood-barcode-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 18px; }
.msk-food .mskfood-barcode-form .button{ min-height:var(--msk-control-height,48px); white-space: nowrap; }
.msk-food .mskfood-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 15px;
    color: #454858;
    font-size: 12px;
}
.msk-food .mskfood-active-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius: 5px;
    color: var(--msk-ink, #12152b);
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.msk-food .mskfood-active-filters a:hover { border-color: var(--msk-magenta, #cf0063); color: var(--msk-magenta, #cf0063); }
.msk-food .mskfood-active-filters .mskfood-reset { border-color: transparent; color: var(--msk-magenta, #cf0063); }
.msk-food .mskfood-count { margin: 0 0 4px; color: #454858; font-size: 13px; }

.msk-food .mskfood-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    margin-top: 4px;
}
.msk-food .mskfood-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 0 22px;
    min-width: 0;
    margin: 0;
    padding: 30px 0;
    border: 0;
    border-bottom: 1px solid var(--msk-line, #dedee5);
    background: #fff;
    box-shadow: none;
}
.msk-food .mskfood-grid > .mskfood-card:last-child { border-bottom: 0; }
.msk-food .mskfood-picture {
    position: relative;
    display: block;
    align-self: start;
    width: 128px;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid #e7e5eb;
    border-radius: 5px;
    background: #fff;
    color: var(--msk-ink, #12152b);
    text-decoration: none;
}
.msk-food .mskfood-picture img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    /* The image canvas fills the frame; the AI badge overlays its lower edge. */
    padding: 0;
    border: 0;
    object-fit: contain;
}
.msk-food .mskfood-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 14px 9px;
    color: #626575;
    background: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
}
.msk-food .mskfood-ai {
    position: absolute;
    bottom: 5px;
    left: 5px;
    max-width: calc(100% - 10px);
    padding: 2px 5px;
    border-radius: 3px;
    background: #f1edf3;
    color: #454858;
    font-size: 11px;
    line-height: 1.5;
}
.msk-food .mskfood-card-copy {
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 9px;
    min-width: 0;
}
.msk-food .mskfood-meta {
    color: #454858;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.msk-food .mskfood-title {
    min-width: 0;
    font-size: 21px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.msk-food .mskfood-title a { color: var(--msk-ink, #12152b); text-decoration: none; }
.msk-food .mskfood-title a:hover { color: var(--msk-magenta, #cf0063); text-decoration: underline; text-underline-offset: 4px; }
.msk-food .mskfood-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 7px;
    min-width: 0;
    margin: 4px 0 0;
    font-variant-numeric: tabular-nums;
}
.msk-food .mskfood-card .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msk-food .mskfood-metrics > div { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.msk-food .mskfood-metrics dt { color: #454858; font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.msk-food .mskfood-metrics dd { order: -1; margin: 0 0 2px; color: var(--msk-ink, #12152b); font-size: 16px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.msk-food .mskfood-basis { color: #454858; font-size: 12px; line-height: 1.6; }
.msk-food .mskfood-card-bottom { display: grid; justify-items: start; align-items: start; align-self: end; gap: 8px; min-width: 0; color: #454858; font-size: 12px; line-height: 1.6; }
.msk-food .mskfood-card-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--msk-magenta, #cf0063); font-size: 13px; font-weight: 600; }
.msk-food .mskfood-filter-link { color: var(--msk-magenta, #cf0063); text-decoration: none; text-underline-offset: 3px; }
.msk-food .mskfood-filter-link:hover { text-decoration: underline; }
.msk-food .mskfood-card-bottom .mskfood-filter-link { min-height: 0; font-size: 12px; font-weight: 400; }

/* Shared rows keep complete long titles from displacing values in a paired card. */
@supports (grid-template-rows: subgrid) {
    .msk-food .mskfood-grid > .mskfood-card { grid-row: span 5; grid-template-rows: subgrid; row-gap: 9px; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-card-copy { display: contents; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-picture { grid-column: 1; grid-row: 1 / -1; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-meta { grid-column: 2; grid-row: 1; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-title { grid-column: 2; grid-row: 2; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-metrics { grid-column: 2; grid-row: 3; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-basis { grid-column: 2; grid-row: 4; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-card-bottom { grid-column: 2; grid-row: 5; }
}
.msk-food .archive-pages { margin-top: 30px; }
.msk-food .archive-pages a,
.msk-food .archive-pages a:hover,
.msk-food .archive-pages a:focus-visible,
.msk-food .archive-pages a:active { text-decoration: none; }
.msk-food .mskfood-empty { padding: 30px 0; color: var(--msk-ink, #12152b); font-size: 16px; }
.msk-food .mskfood-product-top { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); gap: 38px; align-items: start; margin-top: 21px; }
.msk-food.mskfood-detail .mskfood-product-top { margin-top: 0; }
.msk-food .mskfood-image-panel { min-width: 0; }
.msk-food .mskfood-image-panel .mskfood-picture { width: 100%; max-width: 360px; aspect-ratio: 1; margin-inline: auto; }
.msk-food .mskfood-image-panel figcaption { max-width: 360px; margin: 10px auto 0; color: #454858; font-size: 12px; line-height: 1.7; }
.msk-food .mskfood-image-panel .mskfood-placeholder { font-size: 16px; }
.msk-food .mskfood-summary { min-width: 0; }
.msk-food .mskfood-summary h1 { margin: 9px 0 13px; color: var(--msk-ink, #12152b); font-size: clamp(28px, 3vw, 36px); line-height: 1.25; overflow-wrap: anywhere; }
.msk-food .mskfood-summary .mskfood-meta { font-size: 14px; }
.msk-food .mskfood-summary .mskfood-metrics { margin: 22px 0 7px; padding-top: 20px; border-top: 1px solid var(--msk-line, #dedee5); }
.msk-food .mskfood-summary .mskfood-metrics dd { font-size: 24px; }
.msk-food .mskfood-summary .mskfood-basis { margin-bottom: 20px; }
.msk-food .mskfood-data-grid { display: block; padding-top: 27px; margin-top: 30px; border-top: 1px solid var(--msk-line, #dedee5); }
.msk-food .mskfood-data-grid h2 { margin-bottom: 13px; font-size: 23px; line-height: 1.3; }
.msk-food .mskfood-quantity { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin-bottom: 16px; }
.msk-food .mskfood-quantity-label { display: grid; flex: 0 1 160px; gap: 7px; min-width: 0; color: var(--msk-ink, #12152b); font-size: 13px; font-weight: 600; }
.msk-food .mskfood-quantity-label input{
    width: 100%;
    min-width: 0;
    min-height:var(--msk-control-height,48px);
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #aaa8b4;
    border-radius:var(--msk-control-radius,5px);
    background: #fff;
    color: var(--msk-ink, #12152b);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}
.msk-food .mskfood-quantity-label input[aria-invalid="true"] { border-color: var(--msk-magenta, #cf0063); }
.msk-food .mskfood-quantity-presets { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.msk-food .mskfood-quantity-presets button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height:var(--msk-control-height,48px);
    max-width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius:var(--msk-control-radius,5px);
    background: #f7f6f8;
    color: var(--msk-ink, #12152b);
    font: 600 13px/1.5 var(--msk-sans, Montserrat, Arial, sans-serif);
    text-align: center;
    cursor: pointer;
}
.msk-food .mskfood-quantity-presets button:hover { background: #eeecf1; }
.msk-food .mskfood-quantity-presets button[aria-pressed="true"] { border-color: var(--msk-magenta, #cf0063); background: var(--msk-magenta, #cf0063); color: #fff; }
.msk-food .mskfood-quantity-presets button[aria-pressed="true"]:hover { border-color: #b90059; background: #b90059; }
.msk-food .mskfood-quantity-error { flex-basis: 100%; color: #626575; font-size: 13px; line-height: 1.6; }
.msk-food .mskfood-nutrition { width: 100%; max-width: 100%; margin: 0; border: 0; border-collapse: collapse; color: var(--msk-ink, #12152b); font-size: 15px; line-height: 1.6; }
.msk-food .mskfood-nutrition caption { margin-bottom: 8px; color: #454858; font-size: 12px; text-align: left; }
.msk-food .mskfood-nutrition :is(th, td) { padding: 10px 0; border: 0; border-bottom: 1px solid var(--msk-line, #dedee5); }
.msk-food .mskfood-nutrition th { font-weight: 400; text-align: left; }
.msk-food .mskfood-nutrition td { padding-left: 14px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.msk-food .mskfood-nutrition tr:last-child :is(th, td) { border-bottom: 0; }
.msk-food .mskfood-nutrition .mskfood-sub th { padding-left: 13px; color: #454858; }
.msk-food .mskfood-product-footer { display: grid; gap: 8px; margin-top: 27px; padding-top: 19px; border-top: 1px solid var(--msk-line, #dedee5); color: #454858; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.msk-food .mskfood-product-footer a { color: var(--msk-magenta, #cf0063); text-decoration: none; text-underline-offset: 3px; }
.msk-food .mskfood-product-footer a:hover { text-decoration: underline; }
.msk-food .mskfood-catalog-footer,
.msk-food .mskfood-product-provenance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; align-items: start; color: #454858; font-size: 12px; line-height: 1.75; }
.msk-food .mskfood-catalog-footer { margin-top: 32px; }
.msk-food .mskfood-data-license { grid-column: 2; }
.msk-food .mskfood-catalog-footer a { color: var(--msk-magenta, #cf0063); }
.msk-food .mskfood-source-links,
.msk-food .mskfood-data-license { min-width: 0; overflow-wrap: anywhere; }
.msk-food .mskfood-sources { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 8px; align-items: baseline; }
.msk-food .mskfood-disclaimer { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; min-width: 0; text-align: left; }
.msk-food .mskfood-disclaimer svg { margin-top: 2px; color: var(--msk-magenta, #cf0063); }
.food-surface .comments-container,
.food-surface .comments-container .comment-respond,
.food-surface .comments-container .comment-form,
.food-surface .comments-container .comment-form-comment { width: 100%; max-width: none; margin-inline: 0; }
.food-catalog-surface .page-content { max-width: none; width: 100%; }
.food-search-result-group { min-width: 0; }
.msk-food .mskfood-search-more { margin-top: 18px; }
/* Inline EAN cards follow the reading column, with compact copy beside the image. */
.msk-food.mskfood-embed { width: 100%; max-width: 100%; margin-block: 28px; }
.msk-food.mskfood-embed .mskfood-card {
    width: 100%;
    max-width: none;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    margin: 0;
    padding: 0;
    border: 0;
}
.msk-food.mskfood-embed .mskfood-picture { width: 128px; }
.msk-food.mskfood-embed .mskfood-card-copy {
    grid-template-rows: repeat(4, auto);
    align-content: start;
    gap: 7px;
}
.msk-food.mskfood-embed .mskfood-card-copy > :is(p, h3, dl),
.msk-food.mskfood-embed .mskfood-embed-footer > p { margin: 0; }
.msk-food.mskfood-embed .mskfood-meta { font: 400 12px/1.5 var(--msk-sans, Montserrat, Arial, sans-serif); }
.msk-food.mskfood-embed .mskfood-title { font: 700 21px/1.3 var(--msk-sans, Montserrat, Arial, sans-serif); }
.msk-food.mskfood-embed .mskfood-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.msk-food.mskfood-embed .mskfood-metrics dt { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.msk-food.mskfood-embed .mskfood-metrics dd { margin: 0; font-size: 16px; line-height: 1.5; }
.msk-food.mskfood-embed .mskfood-embed-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; }
.msk-food.mskfood-embed .mskfood-embed-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--msk-magenta, #cf0063); font-size: 13px; font-weight: 600; }
.msk-food.mskfood-embed :is(.mskfood-title a, .mskfood-filter-link, .mskfood-embed-link) { text-decoration: none; }
.msk-food.mskfood-embed :is(.mskfood-title a, .mskfood-filter-link, .mskfood-embed-link):hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) and (min-width: 441px) {
    .msk-food.mskfood-embed .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
    .msk-food.mskfood-embed .mskfood-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .msk-food.mskfood-embed .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Product discovery shares the catalog typography and the blog's reading cards. */
.msk-food :is(.mskfood-related, .mskfood-mentions) {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--msk-line, #dedee5);
}
.msk-food :is(.mskfood-related, .mskfood-mentions) h2 {
    font-size: 23px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.msk-food .mskfood-related-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 24px;
}
.msk-food .mskfood-related-header h2 { margin-bottom: 5px; }
.msk-food .mskfood-related-sort { display: flex; flex-wrap: wrap; gap: 8px; }
.msk-food .mskfood-related-sort button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--msk-line, #dedee5);
    border-radius: 5px;
    background: #fff;
    color: var(--msk-ink, #12152b);
    font: 600 12px/1.5 var(--msk-sans, Montserrat, Arial, sans-serif);
    text-align: center;
    cursor: pointer;
}
.msk-food .mskfood-related-sort button:hover { border-color: var(--msk-magenta, #cf0063); }
.msk-food .mskfood-related-sort button[aria-pressed="true"] {
    border-color: var(--msk-magenta, #cf0063);
    background: var(--msk-magenta, #cf0063);
    color: #fff;
}
.msk-food .mskfood-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 28px 26px;
    min-width: 0;
}
.msk-food .mskfood-related-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    align-content: start;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
}
.msk-food .mskfood-related-card .mskfood-picture {
    align-self: start;
    width: 128px;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
}
.msk-food .mskfood-related-copy {
    display: grid;
    align-content: start;
    gap: 9px;
    min-width: 0;
}
.msk-food .mskfood-related-card .mskfood-title { font-size: 20px; line-height: 1.4; }
.msk-food .mskfood-related-card .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msk-food .mskfood-related-card .mskfood-related-link {
    align-self: end;
    justify-self: start;
    min-height: 44px;
    color: var(--msk-magenta, #cf0063);
    font-size: 13px;
}
.msk-food .mskfood-mentions > h2 { margin-bottom: 17px; }
.msk-food .mskfood-mentions-list { gap: 14px; }

@media (max-width: 820px) {
    .msk-food .mskfood-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .msk-food .mskfood-toolbar > .mskfood-show { justify-self: start; }
    .msk-food .mskfood-related-grid { grid-template-columns: minmax(0, 1fr); row-gap: 25px; }
    .msk-food .mskfood-related-card {
        grid-template-columns: 100px minmax(0, 1fr);
        column-gap: 18px;
    }
    .msk-food .mskfood-related-card .mskfood-picture { width: 100px; }
}
@media (max-width: 440px) {
    .msk-food .mskfood-related-sort { width: 100%; }
    .msk-food .mskfood-related-sort button { flex: 1 1 120px; }
    .msk-food .mskfood-related-card { grid-template-columns: 82px minmax(0, 1fr); column-gap: 14px; }
    .msk-food .mskfood-related-card .mskfood-picture { width: 82px; }
    .msk-food .mskfood-related-card .mskfood-metrics dt { overflow-wrap: anywhere; }
}

@media (min-width: 821px) {
    .msk-food .mskfood-grid > .mskfood-card:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 820px) and (pointer: coarse) {
    .msk-food .mskfood-scanner { display: block; }
}

@media (max-width: 1000px) and (min-width: 821px) {
    .msk-food .mskfood-grid { column-gap: 24px; }
    .msk-food .mskfood-card { grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; }
    .msk-food .mskfood-picture { width: 104px; }
    .msk-food .mskfood-title { font-size: 19px; }
    .msk-food .mskfood-product-top { gap: 26px; }
}
@media (max-width: 820px) {
    .msk-food .mskfood-grid { grid-template-columns: minmax(0, 1fr); }
    .msk-food .mskfood-grid > .mskfood-card { grid-row: auto; grid-template-rows: auto; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-card-copy { display: grid; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-card-copy > * { grid-column: auto; grid-row: auto; }
    .msk-food .mskfood-grid > .mskfood-card .mskfood-picture { grid-column: auto; grid-row: auto; }
    .msk-food .mskfood-product-top { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); gap: 25px; }
    .msk-food .mskfood-summary .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .msk-food .mskfood-summary .mskfood-metrics dd { font-size: 21px; }
}
@media (max-width: 600px) {
    .msk-food .mskfood-toolbar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .msk-food .mskfood-toolbar :is(input, select) { font-size: 16px; }
    .msk-food .mskfood-toolbar > .button { width: 100%; justify-self: stretch; }
    .msk-food .mskfood-catalog-footer,
    .msk-food .mskfood-product-provenance { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .msk-food .mskfood-property-options { display: flex; }
.msk-food .mskfood-toolbar .mskfood-property{ flex: 1 1 140px; min-width: 0; width: auto; }
    .msk-food .mskfood-barcode-form { grid-template-columns: minmax(0, 1fr); }
.msk-food .mskfood-barcode-form input{ font-size: 16px; }
.msk-food .mskfood-barcode-form .button{ width: 100%; }
    .msk-food .mskfood-card { grid-template-columns: 100px minmax(0, 1fr); column-gap: 18px; padding-block: 26px; }
    .msk-food .mskfood-picture { width: 100px; }
    .msk-food .mskfood-title { font-size: 20px; }
    .msk-food .mskfood-product-top { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .msk-food .mskfood-summary h1 { font-size: 28px; }
    .msk-food .mskfood-summary .mskfood-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .msk-food .mskfood-nutrition { font-size: 14px; }
}
@media (max-width: 540px) {
    .msk-food .mskfood-summary .mskfood-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
    .msk-food .mskfood-card { grid-template-columns: 82px minmax(0, 1fr); column-gap: 12px; }
    .msk-food .mskfood-picture { width: 82px; }
    .msk-food .mskfood-title { font-size: 19px; }
    .msk-food .mskfood-card .mskfood-metrics dt { hyphens: auto; overflow-wrap: anywhere; }
    .msk-food .mskfood-summary h1 { font-size: 26px; }
}


/* Quiet referral actions: product information keeps its visual priority. */
.msk-food .mskfood-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 16px;
    width: 100%;
    min-width: 0;
}
.msk-food .mskfood-card-bottom:has(.mskfood-card-actions) { justify-items: stretch; }
.msk-food .mskfood-card-bottom > .mskfood-filter-link { justify-self: start; }
.msk-food .mskfood-card-actions :is(.mskfood-product-link, .mskfood-buy-link) {
    display: block;
    min-height: 44px;
    margin: 0;
    padding: 10px 0;
    color: var(--msk-magenta, #cf0063);
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.msk-food .mskfood-card-actions .mskfood-buy-link { font-weight: 400; }
.msk-food .mskfood-card-buy { display: grid; align-content: start; justify-items: end; min-width: 0; text-align: right; }
.msk-food .mskfood-buy-label { display: block; margin-top: -5px; color: #626575; font-size: 11px; font-weight: 400; line-height: 1.6; }
.msk-food.mskfood-embed .mskfood-embed-footer--offer { display: grid; gap: 0; }
.msk-food .mskfood-offer {    container-type: inline-size;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--msk-line, #dedee5);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.msk-food .mskfood-offer-label { margin-bottom: 8px; color: #626575; font-size: 11px; line-height: 1.6; }
.msk-food .mskfood-offer-main { display: flex; align-items: center; gap: 10px 18px; }
.msk-food .mskfood-offer-button {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 14px;
    border: 1px solid #aaa8b4;
    border-radius: 4px;
    background: #fff;
    color: var(--msk-magenta, #cf0063);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}
.msk-food .mskfood-offer-button:hover { border-color: var(--msk-magenta, #cf0063); text-decoration: underline; text-underline-offset: 3px; }
.msk-food .mskfood-offer-benefit { min-width: 0; padding-inline-start: 18px; border-inline-start: 1px solid var(--msk-line, #dedee5); color: var(--msk-ink, #12152b); font-size: 13px; font-weight: 400; }@container (max-width: 440px) {    .msk-food .mskfood-offer-main { flex-direction: column; align-items: flex-start; }    .msk-food .mskfood-offer-benefit { padding-inline-start: 0; border-inline-start: 0; }}
.msk-food .mskfood-offer-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 5px; margin-top: 6px; color: #454858; font-size: 12px; }
.msk-food .mskfood-offer-code-row code { padding: 0; background: none; color: inherit; font: inherit; overflow-wrap: anywhere; user-select: all; }
.msk-food .mskfood-offer-copy {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-height: 36px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #454858;
    cursor: pointer;
}
.msk-food .mskfood-offer-copy:hover { color: var(--msk-magenta, #cf0063); background: #f7f6f8; }
.msk-food .mskfood-offer-copy:disabled { opacity: .6; cursor: wait; }
.msk-food .mskfood-offer-copy-status { color: #454858; font-size: 12px; }
.msk-food .mskfood-offer-information { margin-top: 22px; }
.msk-food .mskfood-offer-conditions { margin: 0; padding: 0; }
.msk-food .mskfood-offer-conditions summary { width: fit-content; min-height: 32px; color: var(--msk-magenta, #cf0063); font-size: 12px; line-height: 1.65; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.msk-food .mskfood-offer-conditions summary:focus-visible { outline: var(--msk-focus-width,2px) solid var(--msk-focus-color,var(--msk-magenta,#cf0063)); outline-offset: var(--msk-focus-offset,3px); }
.msk-food .mskfood-offer-conditions-copy { display: grid; gap: 8px; margin: 5px 0 10px; color: #454858; font-size: 12px; }
.msk-food .mskfood-offer-disclosure { color: #626575; font-size: 11px; line-height: 1.65; }
@media (max-width: 440px) {
    .msk-food .mskfood-card-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; }
    .msk-food .mskfood-card-actions :is(.mskfood-product-link, .mskfood-buy-link) { font-size: 12px; }
}

.msk-food .mskfood-offer-conditions summary { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; text-decoration: none; }.msk-food .mskfood-offer-conditions summary > span { text-decoration: underline; text-underline-offset: 3px; }.msk-food .mskfood-offer-conditions[open] > summary { margin-bottom: 0; }
.msk-food .mskfood-offer-conditions summary::-webkit-details-marker { display: none; }
.msk-food .mskfood-offer-conditions summary::after { content: none; }
.msk-food .mskfood-offer-chevron { display: block; flex: none; transition: transform .15s ease; }.msk-food .mskfood-offer-conditions[open] .mskfood-offer-chevron { transform: rotate(180deg); }@media (prefers-reduced-motion: reduce) {    .msk-food .mskfood-offer-chevron { transition: none; }}
