/* Tims Nutrition Facts — site-matched styling. All classes prefixed tt-. */
.tt-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2B201A;
    line-height: 1.5;
}

.tt-note {
    font-size: 0.85em;
    color: #6b5a4e;
    margin: 12px 2px 0;
}

.tt-field {
    display: block;
}

.tt-field-label {
    display: block;
    font-weight: 600;
    color: #3B2314;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.tt-field input,
.tt-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #EADBCB;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
}

.tt-field input:focus,
.tt-field select:focus {
    outline: 2px solid #C8102E;
    outline-offset: 1px;
    border-color: #C8102E;
}

/* Nutrition Facts tool */
.tt-facts {
    background: #fff;
    border: 1px solid #EADBCB;
    border-radius: 14px;
    padding: 20px;
}

.tt-facts-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.tt-facts-controls .tt-field {
    flex: 1 1 220px;
}

.tt-facts-count {
    font-weight: 600;
    color: #3B2314;
    margin: 8px 2px 12px;
}

.tt-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #EADBCB;
    border-radius: 10px;
}

.tt-facts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    font-size: 0.92em;
}

.tt-facts-table th,
.tt-facts-table td {
    padding: 9px 10px;
    text-align: left;
    border-bottom: 1px solid #EADBCB;
    white-space: nowrap;
}

.tt-facts-table thead th {
    background: #3B2314;
    color: #FFF8F0;
    position: sticky;
    top: 0;
}

.tt-facts-table tbody tr:nth-child(even) {
    background: #FFF8F0;
}

.tt-facts-table th.tt-sortable {
    cursor: pointer;
}

.tt-facts-table th.tt-sortable:hover {
    background: #C8102E;
}

.tt-sort-ind {
    font-size: 0.75em;
    color: #FFF8F0;
}
