:root {
  --bg-page: #ffffff;
  --bg-sidebar: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --primary: #0369a1;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  background: #ffffff;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 40px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 16px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Main Layout (Same Left Sidebar on EVERY page) */
.page-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 24px 0 48px;
  flex: 1;
}

@media (max-width: 720px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Menu */
.sidebar-menu {
  list-style: none;
  border-right: 1px solid var(--border-color);
  padding-right: 16px;
}

@media (max-width: 720px) {
  .sidebar-menu {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
  }
}

.sidebar-menu li a {
  display: block;
  padding: 5px 8px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
}

.sidebar-menu li a:hover {
  background: var(--bg-sidebar);
  color: var(--text-main);
}

.sidebar-menu li.active a {
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 600;
}

/* Main Content Area */
.content-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.content-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.content-header p {
  color: var(--text-muted);
  font-size: 13px;
}

/* Shop Listing Item (NO Outbound Links, Simple Clean Text List) */
.shops-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #ffffff;
}

.shop-logo-box {
  width: 80px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 2px;
}

.shop-logo-box img {
  max-width: 76px;
  max-height: 44px;
  object-fit: contain;
}

.shop-text {
  flex: 1;
  min-width: 0;
}

.shop-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.shop-domain {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

.shop-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 12px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}