html {
  font-size: 120%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(248, 250, 252);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.5;
}

.menu {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  margin: 1rem;
  padding: 0.25rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 1rem;
  z-index: 100;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(203, 213, 225) transparent;
  padding: 0.25rem;
}

.nav-list::-webkit-scrollbar {
  height: 4px;
}

.nav-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.nav-list::-webkit-scrollbar-thumb {
  background: rgb(203, 213, 225);
  border-radius: 10px;
}

.nav-list::-webkit-scrollbar-thumb:hover {
  background: rgb(148, 163, 184);
}

.nav-element {
  background-color: transparent;
  padding: 0.6rem 1.2rem;
  border-radius: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(51, 65, 85);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-element:hover {
  background-color: rgb(241, 245, 249);
  color: rgb(30, 41, 59);
}

.nav-element.active {
  background-color: rgb(82, 133, 191);
  color: white;
  box-shadow: 0 2px 8px rgba(82, 133, 191, 0.3);
}

.nav-element:active {
  transform: scale(0.96);
}

main {
  margin: 1rem;
  padding: 0 0.5rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 1.25rem;
  background-color: rgb(255, 255, 255);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.03);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  min-width: 600px;
}

.product-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  background-color: rgb(248, 250, 252);
  color: rgb(30, 41, 59);
  font-weight: 600;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgb(226, 232, 240);
}

.product-table td {
  padding: 1rem 1.25rem;
  color: rgb(51, 65, 85);
  border-bottom: 1px solid rgb(241, 245, 249);
  vertical-align: middle;
}

.product-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 0.75rem;
  background-color: rgb(241, 245, 249);
  display: block;
}

.price {
  color: rgb(82, 133, 191);
  font-weight: 600;
  font-size: 1em;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.size-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
  font-size: 1.5em;
  font-weight: 800;
  white-space: nowrap;

  background-color: rgb(82, 133, 191);
  color: white;
  box-shadow: 0 2px 8px rgba(82, 133, 191, 0.3);
}

.product-table tr:hover td {
  background-color: rgb(248, 250, 252);
}

.no-image {
  width: 50px;
  height: 50px;
  background-color: rgb(241, 245, 249);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgb(148, 163, 184);
}

.out-of-stock {
  color: rgb(148, 163, 184);
  font-size: 0.75rem;
}
