.product-thumb {
  transition: box-shadow 0.2s, transform 0.2s;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px #0001;
  cursor: pointer;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb:hover {
  box-shadow: 0 4px 16px #2976f633;
  transform: translateY(-4px) scale(1.04);
}
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;

body {
  background: #fafbfc;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 32px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0001;
  padding: 24px;
  border: 1px solid #eee;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.header h1 {
  font-size: 2rem;
  margin: 0;
}
.header nav a {
  margin-left: 24px;
  color: #222;
  text-decoration: none;
  font-size: 1.15rem;
  transition: color 0.2s, text-decoration 0.2s;
}

.header nav a:hover {
  color: #2976f6;
  text-decoration: underline;
}
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-img {
  margin-bottom: 24px;
}
.product-info {
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
}
.product-info h2 {
  font-size: 1.6rem;
  margin: 0 0 8px 0;
}
.price {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.actions {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.cart-btn {
  background: #2976f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px #0001;
}
.cart-btn:hover {
  background: #1856c2;
}
.purchase-btn {
  background: #fff;
  color: #222;
  border: 2px solid #bbb;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  cursor: pointer;
}
.purchase-btn:hover {
  border-color: #2976f6;
  color: #2976f6;
}
.activity {
  width: 100%;
  margin-top: 16px;
}
.activity h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
#activityTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}
#activityTable th, #activityTable td {
  padding: 6px 12px;
  text-align: left;
}
#activityTable th {
  font-weight: 600;
}
#activityTable tr {
  border-bottom: 1px solid #eee;
}
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
  filter: drop-shadow(0 0 2em #f7df1eaa);
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
