/* .habit-calendar {
    margin-top: 3rem;
    padding: 1.8rem;
    background: #f4f1ea;
    border-left: 6px solid #6b4f2a;
    position: relative;
} */

.habit-calendar h2 {
    margin-bottom: 1.4rem;
    color: #3a2c1a;
}

.habit-grid {
    display: flex;
    flex-wrap: wrap;
}

.habit-row {
    margin-bottom: 0.8rem;
}

.habit-name {
    width: 120px;
    font-size: 0.9rem;
    color: #2c2c2c;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    max-width: 100%;
    padding: 0;
    margin-right: 2em;
}

.cell {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #d8d2c4;
    border-radius: 2px;
}

.cell.done {
    background: #3f6b3f;
}

.cell {
    width: 11px;
    height: 11px;
    background: #d8d2c4;
    border-radius: 2px;
    transition: all 0.15s ease;
}

.cell.done {
    background: #3f6b3f;
}

.cell.today {
    outline: 1px solid #3a2c1a;
}

.cell:hover {
    transform: scale(1.15);
}

.habit-count {
    font-size: 0.75rem;
    color: #6b6b6b;
}



/* === ITEMS / NA MESA === */




/* .c-items {
    margin-top: 3rem;
    padding: 1.6rem;
    background: #f4f1ea;
    position: relative;
} */


.c-items__title {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: #3a2c1a;
}


.c-items__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .c-items__entry * {
    border: #2c2c2c 1px solid;
} */
.c-items__entry {
    margin-bottom: 1.4rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(107, 79, 42, 0.15);
}

.c-items__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.4rem;
}

.c-items__title-wrap {
    display: flex;
    flex-direction: column;
}

.c-items__name {
    font-weight: 600;
    color: #2c2c2c;
    text-decoration: none;
}

.c-items__name:hover {
    text-decoration: underline;
}

.c-items__meta {
    font-size: 0.8rem;
    font-style: italic;
    color: #6b6b6b;
}

.c-items__rating {
    font-size: 0.75rem;
    color: #6b4f2a;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* progresso */

.c-items__progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-items__bar {
    flex: 1;
    height: 6px;
    background: #d8d2c4;
    border-radius: 3px;
    overflow: hidden;
    max-width: 100%;
}

.c-items__fill {
    height: 100%;
    background: #3f6b3f;
    transition: width 0.3s ease;
}

.c-items__numbers {
    font-size: 0.75rem;
    color: #6b6b6b;
    min-width: 42px;
    text-align: right;
}

/* responsivo */

@media (max-width: 600px) {

    .c-items__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .c-items__rating {
        margin-top: 2px;
    }

}