﻿/* Catering portal (Website/Catering, CateringPortal, CateringOrder). Uses the brand tokens from brand.css. */
.ct { max-width: 1080px; margin: 26px auto 60px; padding: 0 16px; font-family: var(--b-body); color: var(--b-ink); }
.ct h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.ct h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; }
.ct-lead { color: var(--b-grey); margin: 0 0 22px; font-size: 17px; line-height: 1.5; max-width: 720px; }
.ct-narrow { max-width: 480px; }
.ct-card { background: #fff; border: 1px solid var(--b-line); border-radius: 3px; padding: 20px 22px; margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(35,31,32,.06), 0 8px 20px rgba(35,31,32,.06); }
.ct-label { display: block; font-size: 13px; font-weight: 500; color: var(--b-grey); margin: 0 0 4px; }
.ct-field { margin-bottom: 12px; }
.ct-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ct-row > .ct-field { flex: 1 1 160px; }
.ct-row > .ct-field.ct-sm { flex: 0 1 120px; }
.ct input[type=text], .ct input[type=email], .ct input[type=tel], .ct input[type=password], .ct input[type=number],
.ct input[type=date], .ct input[type=time], .ct select, .ct textarea {
    font: inherit; font-size: 16px; padding: 9px 12px; width: 100%; min-height: 44px;
    border: 1px solid var(--b-field); border-radius: 2px; background: #fff; color: var(--b-ink); box-sizing: border-box; }
.ct textarea { min-height: 80px; }
.ct input:focus, .ct select:focus, .ct textarea:focus { outline: none; border-color: var(--b-ink); box-shadow: 0 0 0 3px var(--b-focus); }
.ct input[disabled], .ct select[disabled], .ct textarea[disabled] { background: var(--b-tint); color: var(--b-grey); }
.ct-btn { font: inherit; font-size: 15px; font-weight: 600; padding: 0 20px; min-height: 44px; border-radius: 2px;
    border: 1px solid rgba(0,0,0,.1); background: var(--b-ink); color: #fff; cursor: pointer; white-space: nowrap;
    text-decoration: none; display: inline-flex; align-items: center; }
.ct-btn:hover { background: var(--b-ink-hover); color: #fff; }
.ct-btn-plain { background: #fff; color: var(--b-ink); border-color: var(--b-field); }
.ct-btn-plain:hover { background: var(--b-tint); color: var(--b-ink); }
.ct-btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.ct-link { background: none; border: none; padding: 0; color: var(--b-ink); font: inherit; cursor: pointer; text-decoration: underline; }
.ct .ct-code { font-size: 28px; letter-spacing: 10px; text-align: center; font-family: var(--b-mono); max-width: 260px; }
.ct-hint { font-size: 13px; color: var(--b-soft); margin-top: 6px; line-height: 1.45; }
.ct-msg { padding: 12px 14px; border-radius: 2px; margin: 0 0 16px; line-height: 1.45; }
.ct-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.ct-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.ct-warn { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.ct-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.ct-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ct-who { font-size: 14px; color: var(--b-grey); text-align: right; }
.ct-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ct-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--b-soft); padding: 0 8px 8px 0; border-bottom: 1px solid var(--b-line); }
.ct-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--b-line-soft); vertical-align: middle; }
.ct-table .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ct-table input[type=number] { width: 84px; min-height: 36px; padding: 5px 8px; }
.ct-sub { font-size: 13px; color: var(--b-soft); }
.ct-low { font-size: 13px; color: #9a3412; font-weight: 600; }
.ct-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 2px;
    background: var(--b-tint); color: var(--b-ink); text-transform: uppercase; }
.ct-badge-new { background: #eff6ff; color: #1e3a8a; }
.ct-badge-final { background: #fffbeb; color: #78350f; }
.ct-badge-approved, .ct-badge-delivered { background: #f0fdf4; color: #14532d; }
.ct-badge-cancelled { background: #f4f4f5; color: #52525b; }
.ct-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.ct-totals { width: 100%; border-collapse: collapse; font-size: 15px; }
.ct-totals td { padding: 6px 0; }
.ct-totals td.r { text-align: right; font-variant-numeric: tabular-nums; }
.ct-totals tr.ct-total td { border-top: 1px solid var(--b-line); font-weight: 700; font-size: 17px; padding-top: 10px; }
.ct-find { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ct-find > input { flex: 1 1 220px; }
.ct-find > select { flex: 0 1 200px; }
.ct-catalog { max-height: 640px; overflow: auto; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } .ct-who { text-align: left; } }
