/* Cook-page typography and intrinsic-size guards. */
body {
    font-family: "Golos Text", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.header-inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, auto) !important;
}
.header-actions { min-width: 0; }
.location-pill {
    width: 330px;
    min-width: 0;
    flex: 0 1 330px;
    overflow: hidden;
    font-weight: 400;
}
.location-pill > span:first-child,
.location-pill > span:last-child,
.header-actions .icon-link { flex-shrink: 0; }
#addressText {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}
.nav a { font-weight: 500; }
.profile-head > div { min-width: 0; }
.distance {
    display: flex;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}
.distance svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: currentColor;
}
#distanceText { min-width: 0; overflow-wrap: break-word; }
.profile-card h1 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    overflow-wrap: break-word;
}
.specialty {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    overflow-wrap: break-word;
}
#cookAddressLine { font-size: 14px; line-height: 20px; color: var(--text-soft); }
.badge { font-size: 12px; line-height: 18px; font-weight: 500; }
.ready-box {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    overflow-wrap: break-word;
}
.about-title { font-size: 18px; line-height: 24px; font-weight: 600; }
.about-text { font-size: 16px; line-height: 24px; font-weight: 400; }
.read-more, .side-action, .profile-tile { font-weight: 500; }
.tabs, .category-btn, .search-button { font-size: 16px; font-weight: 600; }
.search-box input { font-size: 16px; font-weight: 400; }
.section-title { font-size: 22px; line-height: 28px; font-weight: 600; }
.dish-name { font-weight: 500; line-height: 1.4; }
.dish-meta, .dish-desc { font-weight: 400; line-height: 1.4; }
.time-pill, .rating-pill, .add-line, .price, .review-head,
.review-submit, .review-message, .review-field label { font-weight: 600; }
.review-card p, .review-form p, .review-field textarea,
.about-panel-card p, .about-panel-card li { font-weight: 400; }
.dish-modal-title, .dish-modal-price, .dish-modal-add { font-weight: 600; }
.dish-modal-meta, .dish-modal-desc { font-weight: 400; }

@media (max-width: 900px) {
    .header-inner { grid-template-columns: auto minmax(0, 1fr) !important; }
    .header-actions { justify-content: flex-end; }
    .location-pill { width: 260px; flex-basis: 260px; }
}
@media (max-width: 680px) {
    .header-inner { gap: 10px; }
    .location-pill { width: 100%; height: 42px; flex-basis: 170px; padding: 0 10px; border-radius: 12px; }
    .location-pill #addressText { display: block; font-size: 12px; }
    .profile-card h1 { font-size: 22px; line-height: 28px; }
    .specialty, .about-text { font-size: 14px; line-height: 21px; }
    .tabs { gap: 24px; }
    .category-btn { font-size: 14px; }
    .section-title { font-size: 20px; line-height: 26px; }
}
