:root {
      --bg: #f3f5f9;
      --card: #ffffff;
      --text: #141824;
      --muted: #5b6475;
      --border: #e3e7ef;
      --accent: #2563eb;
      --accent-soft: #eff6ff;
      --ok: #047857;
      --ok-bg: #ecfdf5;
      --warn: #b45309;
      --warn-bg: #fffbeb;
      --warn-border: #fcd34d;
      --empty: #6b7280;
      --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
      --radius: 14px;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--accent); }
    header {
      background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #2563eb 100%);
      color: #fff;
      padding: 32px 20px 40px;
    }
    .wrap { max-width: 1120px; margin: 0 auto; }
    header h1 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; }
    header .sub { margin: 0; opacity: .9; font-size: .95rem; }
    header .meta {
      margin-top: 14px;
      display: flex; flex-wrap: wrap; gap: 8px;
    }
    header .chip {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      padding: 4px 10px;
      border-radius: 999px;
      font-size: .8rem;
    }
    .notice {
      margin: -18px auto 0;
      padding: 0 20px;
      max-width: 1120px;
    }
    .notice-inner {
      background: var(--warn-bg);
      color: #92400e;
      border: 1px solid var(--warn-border);
      border-radius: 12px;
      padding: 12px 16px;
      font-size: .88rem;
      box-shadow: var(--shadow);
    }
    main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; }
    .toc {
      display: flex; flex-wrap: wrap; gap: 8px;
      margin-bottom: 28px;
    }
    .toc a {
      text-decoration: none;
      color: var(--accent);
      background: var(--accent-soft);
      border: 1px solid #bfdbfe;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: .84rem;
      font-weight: 600;
    }
    h2.section-title {
      margin: 0 0 14px;
      font-size: 1.15rem;
      display: flex; align-items: center; gap: 8px;
    }
    .card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px 18px 20px;
      margin-bottom: 28px;
    }
    table.overview {
      width: 100%;
      border-collapse: collapse;
      font-size: .9rem;
    }
    table.overview th, table.overview td {
      text-align: left;
      padding: 10px 12px;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
    }
    table.overview th {
      background: #f8fafc;
      color: var(--muted);
      font-weight: 600;
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    table.overview tr:last-child td { border-bottom: none; }
    table.overview a { font-weight: 600; text-decoration: none; }
    table.overview a:hover { text-decoration: underline; }
    .badge {
      display: inline-block;
      padding: 2px 9px;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 700;
      white-space: nowrap;
    }
    .badge-live { background: var(--ok-bg); color: var(--ok); }
    .badge-empty { background: #f3f4f6; color: var(--empty); }
    .badge-hist {
      background: var(--warn-bg);
      color: var(--warn);
      border: 1px solid #fde68a;
    }
    .shop-head {
      display: flex; flex-wrap: wrap; gap: 10px 16px;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .shop-head h2 { margin: 0; font-size: 1.25rem; }
    .shop-head .platform {
      color: var(--muted);
      font-size: .88rem;
      margin-top: 2px;
    }
    .metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
      margin: 14px 0 8px;
    }
    .metric {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 12px;
    }
    .metric .label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
    .metric .value { font-size: 1.05rem; font-weight: 700; margin-top: 2px; }
    .blurb {
      margin: 12px 0 0;
      padding: 12px 14px;
      background: #f8fafc;
      border-left: 3px solid #94a3b8;
      border-radius: 0 8px 8px 0;
      font-size: .88rem;
      color: var(--muted);
      white-space: pre-wrap;
    }
    .products-note {
      margin: 8px 0 14px;
      font-size: .88rem;
      color: var(--muted);
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px;
    }
    .product {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
      display: flex;
      flex-direction: column;
      transition: box-shadow .15s ease;
    }
    .product:hover { box-shadow: 0 6px 18px rgba(15,23,42,.08); }
    .product.hist { border-color: #fde68a; background: #fffefb; }
    .product .img-wrap {
      aspect-ratio: 1 / 1;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .product img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    .product .body {
      padding: 10px 12px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1;
    }
    .product .name {
      font-size: .86rem;
      font-weight: 600;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 3.6em;
    }
    .product .price {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }
    .product .price.compare {
      font-size: .78rem;
      color: var(--muted);
      font-weight: 500;
      text-decoration: line-through;
      margin-right: 6px;
    }
    .product .price.na { color: var(--warn); font-size: .82rem; font-weight: 600; }
    .product .meta-line {
      font-size: .75rem;
      color: var(--muted);
    }
    .product .link {
      margin-top: auto;
      font-size: .8rem;
      font-weight: 600;
      text-decoration: none;
    }
    .product .link:hover { text-decoration: underline; }
    .empty-box {
      padding: 18px;
      text-align: center;
      color: var(--muted);
      background: #f8fafc;
      border: 1px dashed var(--border);
      border-radius: 10px;
      font-size: .9rem;
    }
    footer {
      text-align: center;
      color: var(--muted);
      font-size: .8rem;
      padding: 8px 20px 32px;
    }

    .product .img-wrap.no-img {
      color: var(--muted);
      font-size: .8rem;
      font-weight: 600;
      text-align: center;
      padding: 12px;
      background: repeating-linear-gradient(
        -45deg,
        #f8fafc,
        #f8fafc 8px,
        #eef2f7 8px,
        #eef2f7 16px
      );
    }
    .product .price-note {
      font-size: .72rem;
      color: var(--warn);
      font-weight: 600;
    }
    .cat-label {
      margin: 18px 0 10px;
      font-size: .82rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    @media (max-width: 720px) {
      table.overview { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .shop-head { flex-direction: column; }
    }

/* WordPress theme tweaks */
body.europe-shops-report { margin:0; }
.esr-site { min-height:100vh; }
.admin-bar header { margin-top:0; }
