* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f8f4ff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  .container {
    width: 80vw;
    max-width: 700px;
    min-width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    overflow-y: auto;
  }
  h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  .shop-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .shop-tab {
    padding: 8px 16px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
  }
  .shop-tab.active {
    background: #d1c4e9;
    border-color: #9575cd;
    color: #5e35b1;
  }
  .section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 12px;
    color: #333;
    text-align: left;
    padding-left: 10px;
  }
  .product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .product-item {
    padding: 8px 16px;
    background: #f0e6ff;
    border: 1px solid #d1c4e9;
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .product-item.selected {
    background: #9575cd;
    color: white;
    border-color: #7e57c2;
    box-shadow: 0 2px 6px rgba(150, 118, 205, 0.3);
  }
  .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
  }
  .method-item {
    position: relative;
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f5f5f5;
    justify-content: space-between;
  }
  .method-item.selected {
    border-color: #333;
    background: white;
  }
  .method-item img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  .method-item span {
    font-size: 16px;
    flex-grow: 1;
    text-align: left;
  }
  .method-item .checkmark {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #8e24aa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .method-item.selected .checkmark {
    opacity: 1;
  }
  .pay-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px;
    background: #222;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 24px;
    transition: background 0.2s;
  }
  .pay-btn:hover {
    background: #000;
  }
  .notice {
    background: #fff8e1;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    border-left: 4px solid #ffa000;
  }
  .notice h3 {
    margin-bottom: 10px;
    color: #ff6f00;
    text-align: center;
    font-weight: bold;
  }
  .notice p {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
  }
  .footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  @media (max-width: 768px) {
    .container { width: 90vw; padding: 20px; }
    .pay-btn { width: 100%; max-width: 100%; font-size: 16px; }
    .product-item { min-width: 120px; font-size: 13px; padding: 6px 12px; height: 36px; }
    .method-item { padding: 10px 12px; font-size: 14px; }
    .method-item img { width: 20px; height: 20px; }
  }
  @media (max-width: 480px) {
    .container { width: 95vw; padding: 15px; }
    h1 { font-size: 20px; }
    .shop-tab { font-size: 12px; padding: 6px 10px; }
    .section-title { font-size: 16px; }
    .product-item { font-size: 12px; min-width: 100px; }
    .method-item span { font-size: 13px; }
  }