:root {
    --fg-color: #333;
    --bg-color: #eff5f8;
    --bg-alt-color: #bdc8d2;
    --gray-color: #9d9d9d;
    --yellow-color: #f8a911;
    --yellow-alt-color: #f6c463;
    --green-color: #13ce65;
}

html {
    font-size: 100%;
}

body {
    background: var(--bg-color);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    padding: 0;
    margin: 0;
    line-height: 1.75;
    color: var(--fg-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--fg-color);
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.488rem;
}

h2 {
    font-size: 2.074rem;
}

h3 {
    font-size: 1.728rem;
}

h4 {
    font-size: 1.44rem;
}

h5 {
    font-size: 1.2rem;
}

small {
    font-size: 0.833rem;
}

label {
    display: block;
}



input[type=number] {
    max-width: 4rem;
}


.action-button,
input[type=submit],
button {
    font-family: inherit;
    font-weight: bold;
    font-size: 1rem;
    color: var(--fg-color);
    text-decoration: none;
    background-color: var(--yellow-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}

.action-button:hover,
input[type=submit]:hover,
button:hover {
    background-color: var(--yellow-alt-color);
}

figure {
    margin: 0;
    padding: 0;
}


main {
    overflow: scroll;
    height: 100vh;
}

main article {
    margin: 2rem 2rem 2rem 0;
}


.store__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 1rem 0;
}

.store__info div {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
}

.store__info div h3 {
    text-align: right;
}

.store__action {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: block;
    /*font-size: 1.2rem;*/
    font-weight: bold;
    text-decoration: none;
    font-family: "Inter";
}

.store__action:hover {
    background-color: var(--bg-alt-color);
}

.dashboard__main {
    display: grid;
    grid-template-columns: 1fr 7fr;
    gap: 2rem;
}

.dashboard__sidebar {
    height: 100vh;
    background-color: var(--bg-alt-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
}

.dashboard__user {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
}

.dashboard__user a,
.dashboard__nav a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dashboard__nav a img {
    width: 24px;
    margin-right: 0.5rem;
}

.dashboard__user a:hover,
.dashboard__nav a:hover {
    background-color: var(--bg-color);
    border-radius: 0.25rem;
}



.object__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.object__list,
.object__panel {
    background-color: white;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.object__item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-bottom: 0.05rem solid var(--gray-color);
    text-decoration: none;
    align-items: center;
}

.panel__item:last-child,
.object__item:last-child {
    border-bottom: unset;
    border-radius: 0 0 0.5rem 0.5rem;
}

.object__item:hover {
    background-color: var(--bg-alt-color);
}

.object__item--header {
    font-weight: bold;
    background-color: var(--bg-alt-color);
    border-radius: 0.5rem 0.5rem 0 0;
}

.panel__item {
    padding: 1rem;
    border-bottom: 0.05rem solid var(--gray-color);
    text-decoration: none;
}


.product__detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.product__image {
    max-height: 200px;
    border: 0.02rem solid var(--gray-color);
}



.order__fulfill {
    grid-column: 8;
}

.order__status {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.order__status--display {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.order__status--draft {
    background-color: var(--gray-color);
}
.order__status--unfulfilled {
    background-color: var(--yellow-alt-color);
}
.order__status--partially_returned {
    background-color: var(--gray-color);
}
.order__status--partially_fulfilled {
    background-color: var(--gray-color);
}
.order__status--returned {
    background-color: var(--gray-color);
}
.order__status--fulfilled {
    background-color: var(--green-color);
}
.order__status--cancelled {
    background-color: var(--gray-color);
}

.status__dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    border-radius: 100%;
    margin-right: 0.4rem;
}


.item__figure {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    align-items: center;
}

.item__figure img {
    height: 50px;
    margin-right: 1rem;
}
