:root {
  font-size: 16px;

  --black: #544747;
  --white: #f9f7f2;
  --border: #f9f7f2;
  --bg: rgb(248, 240, 226);
  --bg2: #f1dbc2;
  --bg2Active: #ddc6ac;
  --bg3: #988168;
  --main: #28918d;
  --mainHover: #4eb1ad;
  --mainActive: #63c5c2;
  --accent: #e3a04e;
  --tabbg: #e0d7d2;
  --tab: #c3b6ae;

  color: var(--black);
}

* {
  font-family: "DynaPuff", system-ui;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  color: unset;
  background-color: unset;
  text-decoration: unset;
}

body {
  width: 100vw;
  overflow-x: hidden;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background-color: var(--bg);
}

#logo {
  width: 100%;
}

.a {
  cursor: pointer;
  color: var(--accent);
}

footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 0.75rem;
  line-height: 0.75rem;
  margin-top: 256px;
  color: var(--bg3);
}

#filters {
  display: flex;
  gap: 8px;
  top: 16px;
  position: sticky;
  align-items: center;
  justify-content: center;
}

button {
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-radius: 32px;
  user-select: none;
}

.button {
  color: var(--main);
  border: solid currentColor 2px;
  background-color: var(--bgT);
  backdrop-filter: blur(25px);
  transition: all ease-out 100ms;
}

.button:hover {
  color: var(--mainHover);
}

.button:active {
  color: var(--mainActive);
  transition: none;
}

.buttonFill {
  border-color: var(--main);
  color: var(--white);
  background-color: var(--main);
  transition: all ease-out 100ms;
}

.buttonFill:hover {
  color: var(--white);
  background-color: var(--mainHover);
  border-color: var(--mainHover);
}

.buttonFill:active {
  color: var(--white);
  background-color: var(--mainActive);
  border-color: var(--mainActive);
  transition: none;
}

h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
}

#salableItems {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#salableNav {
  display: flex;
  gap: 16px;
}

.salableNavButton {
  font-size: 2rem;
  line-height: 2rem;
  height: 64px;
  width: 64px;
  padding: 8px;
  border-radius: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  user-select: none;

  transition: background-color ease-out 100ms;
}

.salableNavButton:hover {
  background-color: var(--bg2);
}

.salableNavButton:active {
  background-color: var(--bg2Active);
  transition: none;
}

.salableNavButtonActive {
  border: 2px solid var(--accent);
}

#categories {
  width: 100%;
}

.category {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.categoryBanner {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 32px;
}

.categoryContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.item {
  flex-shrink: 1;
  width: 312px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 32px;
  background-color: var(--bg2);
  border: solid 4px var(--border);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

.prices {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.priceWrapper {
  display: grid;
  grid-template-columns: auto 67.66px;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 8px;
  background-color: var(--bg);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.25);
}

.price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  height: 16px;
  width: 96px;
  object-fit: cover;
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border: 2px solid var(--black);
  border-radius: 1000px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  top: 2px;
  left: 2px;
  background-color: var(--black);
  border-radius: 1000px;
}

input:checked + .slider {
  border-color: var(--main);
}

input:checked + .slider:before {
  transform: translateX(18px);
  background-color: var(--main);
}

.colorPicker {
  width: 256px;
  display: flex;
  justify-content: space-between;
}

.logs {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.log {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logTopic {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.colorPicker input::-webkit-color-swatch {
  border-radius: 1000px;
}
