:root {
  color-scheme: light;
  --ink: #17233c;
  --muted: #64748b;
  --line: #e7ebf2;
  --soft: #f5f7fb;
}

body {
  color: var(--ink);
  padding-top: 56px;
  background: #fff;
}

a {
  text-decoration: none;
}

.hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.eyebrow {
  color: #5368d8;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  min-height: 300px;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(140deg, #edf2ff, #f8f2ff);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.hero-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: .15rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: .8rem;
  background: rgba(255,255,255,.92);
  box-shadow: 0 .5rem 1.5rem rgba(23,35,60,.08);
}

.section-space {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-tint {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.category-tile {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.category-tile:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .8rem 1.8rem rgba(23,35,60,.1);
}

.category-tile img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.category-tile span {
  font-weight: 600;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-image {
  display: flex;
  height: 210px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f9fafc;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card h2 a,
.product-card h3 a {
  color: var(--ink);
}

.product-category {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.page-space {
  min-height: calc(100vh - 140px);
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.page-intro {
  padding: 1rem 0;
}

.filter-panel,
.auth-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .4rem 1.5rem rgba(23,35,60,.04);
}

.category-filters .list-group-item {
  border-color: var(--line);
}

.product-detail {
  padding-top: 2rem;
}

.detail-image {
  display: flex;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--soft);
}

.detail-image img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.benefit {
  height: 100%;
  padding: .8rem .35rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  color: var(--muted);
  font-size: .84rem;
}

.auth-art {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.dashboard-card {
  display: flex;
  min-height: 130px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 .4rem 1.5rem rgba(23,35,60,.04);
}

.dashboard-card:hover {
  border-color: #9aa8fa;
  color: var(--ink);
}

.dashboard-card strong,
.dashboard-card small {
  display: block;
}

.dashboard-card small {
  margin-top: .25rem;
  color: var(--muted);
}

.dashboard-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: .8rem;
  color: #3e50c8;
  background: #edf0ff;
  font-size: 1.4rem;
  font-weight: 700;
}

.site-footer {
  padding: 1.35rem 0;
  color: var(--muted);
  background: var(--soft);
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .hero-art {
    min-height: 240px;
  }

  .hero-art img {
    height: 230px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
