:root {
  --sidebar-width: 280px;
}

body {
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#app {
  display: flex;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
}

#sidebar {
  width: var(--sidebar-width);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 16px;
  height: 100%;
}

.sidebar-header h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 24px 12px;
  color: var(--md-sys-color-on-surface);
}

.sidebar-content {
  flex-grow: 1;
  overflow-y: auto;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 4px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav-item a .material-symbols-rounded {
  font-size: 24px;
  color: var(--md-sys-color-primary);
}

.nav-item a:hover {
  background-color: rgba(29, 27, 32, 0.08);
}

.nav-item.active a {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.nav-item.active a .material-symbols-rounded {
  color: var(--md-sys-color-on-primary-container);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.sidebar-action {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--md-sys-color-primary);
  cursor: pointer;
  border-radius: 100px;
  margin-top: 8px;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}

.sidebar-action:hover {
  background-color: var(--md-sys-color-surface-container-high);
}

#main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 48px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.page-hero {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 8px 0 0;
  color: rgba(29, 27, 32, 0.72);
  line-height: 1.6;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.store-card {
  background: var(--md-sys-color-surface-container-high, var(--md-sys-color-surface-container));
  border: 1px solid var(--md-sys-color-outline-variant, #CAC4D0);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.store-card p {
  margin: 0;
  color: rgba(29, 27, 32, 0.72);
  line-height: 1.6;
}

.store-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
}

.btn-primary {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 10px 20px rgba(103, 80, 164, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(103, 80, 164, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--md-sys-color-on-surface);
  border-color: var(--md-sys-color-outline-variant, #CAC4D0);
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.08);
}

@media (max-width: 760px) {
  #main-content {
    padding: 18px 18px;
  }
}

