:root { --bg-color: #121212; --text-color: #ffffff; --card-color: rgba(255, 255, 255, 0.1); --price-color: #88c0d0; --heading-color-armements: #81a1c1; --heading-color-farm: #a3be8c; --heading-color-varies: #b48ead; --btn-bg: #2e3440; --btn-hover-bg: #4c566a; --btn-text: #d8dee9; } body { background-color: var(--bg-color); color: var(--text-color); font-family: "Roboto", sans-serif; margin: 0; padding: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; } header { font-size: 2.5rem; font-weight: 700; margin: 2rem 0 2.5rem; color: var(--text-color); text-align: center; user-select: none; background-color: transparent; padding: 1rem 0; border-radius: 0 0 12px 12px; box-shadow: none; width: 100%; box-sizing: border-box; position: relative; } header img.banner { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); height: 50px; user-select: none; pointer-events: none; } main { display: flex; gap: 2rem; width: 95%; max-width: 1200px; margin-bottom: 2rem; justify-content: center; flex-wrap: wrap; } section.category { background: var(--card-color); border-radius: 10px; padding: 1rem 1.5rem 1.5rem; box-sizing: border-box; color: var(--text-color); box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); user-select: none; display: flex; flex-direction: column; } section.varies { flex: 1 1 600px; max-width: 600px; min-width: 300px; } section.armements, section.farm { flex: 1 1 450px; min-width: 400px; max-width: 500px; } section.armements h2 { color: var(--heading-color-armements); text-align: center; margin-bottom: 1rem; user-select: text; } section.farm h2 { color: var(--heading-color-farm); text-align: center; margin-bottom: 1rem; user-select: text; } section.varies h2 { color: var(--heading-color-varies); text-align: center; margin-bottom: 1rem; user-select: text; } .subcategory { margin-bottom: 1.5rem; } .subcategory h3 { margin: 0 0 0.7rem 0; font-weight: 700; font-size: 1.2rem; user-select: text; border-bottom: 1px solid var(--price-color); padding-bottom: 0.3rem; } ul.item-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; user-select: none; } ul.item-list li { display: grid; grid-template-columns: 36px 54px 1fr 100px; align-items: center; margin-bottom: 0.4rem; padding: 4px 6px; border-radius: 6px; transition: background-color 0.2s ease; cursor: default; } ul.item-list li:hover { background-color: rgba(136, 192, 208, 0.15); } ul.item-list label { grid-column: 3 / 4; cursor: pointer; user-select: text; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } ul.item-list input[type="checkbox"] { grid-column: 1 / 2; width: 22px; height: 22px; cursor: pointer; margin: 0; } ul.item-list input[type="number"] { grid-column: 2 / 3; width: 38px; padding: 3px 6px; font-size: 1rem; border-radius: 8px; border: none; text-align: center; background-color: rgba(255, 255, 255, 0.15); color: var(--text-color); user-select: text; cursor: default; -moz-appearance: textfield; } ul.item-list input[type="number"]:disabled { background-color: transparent; color: var(--text-color); cursor: not-allowed; } span.price { grid-column: 4 / 5; color: var(--price-color); font-weight: 700; user-select: text; text-align: right; white-space: nowrap; font-size: 1rem; padding-left: 6px; } #resetBtn { background-color: var(--btn-bg); color: var(--btn-text); border: none; border-radius: 8px; padding: 0.5rem 1.2rem; font-size: 1.1rem; font-weight: 700; cursor: pointer; user-select: none; margin: 0 auto 1rem auto; transition: background-color 0.3s ease; display: block; width: max-content; } #resetBtn:hover { background-color: var(--btn-hover-bg); } .total-box { width: 95%; max-width: 600px; background-color: var(--card-color); border-radius: 10px; padding: 1rem 1.5rem; box-sizing: border-box; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); font-size: 1.8rem; font-weight: 700; color: var(--text-color); margin-bottom: 3rem; user-select: text; text-align: center; cursor: pointer; position: relative; } .total-box span#total { color: var(--price-color); margin-left: 0.4rem; font-size: 1.8rem; font-weight: 700; user-select: text; } ul.item-list::-webkit-scrollbar { width: 7px; } ul.item-list::-webkit-scrollbar-track { background: transparent; } ul.item-list::-webkit-scrollbar-thumb { background-color: var(--price-color); border-radius: 4px; }