diff --git a/miniapp/index.html b/miniapp/index.html index c8524f68..b1f33202 100644 --- a/miniapp/index.html +++ b/miniapp/index.html @@ -705,295 +705,6 @@ color: #fff; } - /* Purchase Configurator */ - .purchase-card { - display: flex; - flex-direction: column; - gap: 16px; - } - - .purchase-card .card-header { - align-items: flex-start; - } - - .purchase-card .card-description { - font-size: 14px; - color: var(--text-secondary); - margin-top: 6px; - line-height: 1.5; - } - - .purchase-section { - display: flex; - flex-direction: column; - gap: 12px; - padding: 16px; - border-radius: var(--radius); - background: var(--bg-secondary); - } - - .purchase-section-header { - display: flex; - justify-content: space-between; - align-items: center; - gap: 12px; - } - - .purchase-section-title { - font-size: 16px; - font-weight: 600; - display: flex; - align-items: center; - gap: 8px; - } - - .purchase-section-subtitle { - font-size: 13px; - color: var(--text-secondary); - line-height: 1.5; - } - - .purchase-options-grid { - display: grid; - gap: 10px; - } - - .purchase-option { - border-radius: var(--radius); - border: 1.5px solid var(--border-color); - padding: 12px; - background: rgba(255, 255, 255, 0.02); - display: flex; - flex-direction: column; - gap: 6px; - transition: all 0.25s ease; - cursor: pointer; - } - - .purchase-option:hover:not(.disabled) { - border-color: var(--primary); - box-shadow: var(--shadow-sm); - } - - .purchase-option.disabled { - opacity: 0.6; - cursor: not-allowed; - } - - .purchase-option.active { - border-color: var(--primary); - background: rgba(var(--primary-rgb), 0.1); - box-shadow: var(--shadow-sm); - } - - .purchase-option-title { - font-weight: 600; - font-size: 15px; - } - - .purchase-option-meta { - font-size: 13px; - color: var(--text-secondary); - display: flex; - flex-wrap: wrap; - gap: 6px; - align-items: baseline; - } - - .purchase-option-meta strong { - color: var(--text-primary); - font-weight: 600; - } - - .purchase-option-description { - font-size: 12px; - color: var(--text-secondary); - } - - .purchase-option-tag { - display: inline-flex; - align-items: center; - gap: 4px; - padding: 2px 8px; - border-radius: 999px; - font-size: 11px; - font-weight: 600; - background: rgba(var(--primary-rgb), 0.12); - color: var(--primary); - } - - .purchase-summary { - display: flex; - flex-direction: column; - gap: 12px; - padding: 16px; - border-radius: var(--radius); - background: var(--bg-secondary); - } - - .purchase-summary-row { - display: flex; - justify-content: space-between; - align-items: center; - font-size: 14px; - } - - .purchase-summary-row strong { - font-size: 16px; - } - - .purchase-summary-old-price { - text-decoration: line-through; - color: var(--text-secondary); - font-size: 13px; - } - - .purchase-summary-discount { - font-size: 12px; - color: var(--success); - } - - .purchase-actions { - display: flex; - flex-direction: column; - gap: 10px; - } - - .purchase-hint { - font-size: 13px; - color: var(--text-secondary); - line-height: 1.5; - } - - .purchase-warning { - color: var(--danger); - font-weight: 600; - } - - .purchase-error { - padding: 12px; - border-radius: var(--radius); - background: rgba(var(--danger-rgb), 0.1); - color: var(--danger); - font-size: 13px; - } - - .purchase-loading { - display: flex; - flex-direction: column; - gap: 8px; - padding: 20px; - align-items: center; - justify-content: center; - text-align: center; - color: var(--text-secondary); - font-size: 14px; - } - - .purchase-loading .spinner { - width: 32px; - height: 32px; - } - - .purchase-tag-list { - display: flex; - flex-wrap: wrap; - gap: 6px; - } - - .purchase-inline-list { - display: flex; - flex-wrap: wrap; - gap: 6px; - font-size: 13px; - color: var(--text-secondary); - } - - .purchase-inline-list span::after { - content: '·'; - margin-left: 6px; - } - - .purchase-inline-list span:last-child::after { - content: ''; - margin: 0; - } - - .purchase-empty-state { - font-size: 14px; - color: var(--text-secondary); - padding: 12px 0; - text-align: center; - } - - .purchase-stepper { - display: inline-flex; - align-items: center; - border-radius: var(--radius); - border: 1px solid var(--border-color); - overflow: hidden; - background: rgba(255, 255, 255, 0.02); - } - - .purchase-stepper button { - width: 40px; - height: 36px; - border: none; - background: none; - font-size: 18px; - font-weight: 600; - color: var(--text-primary); - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - transition: background 0.2s ease; - } - - .purchase-stepper button:disabled { - opacity: 0.5; - cursor: not-allowed; - } - - .purchase-stepper button:hover:not(:disabled) { - background: rgba(var(--primary-rgb), 0.1); - } - - .purchase-stepper-value { - min-width: 48px; - text-align: center; - font-weight: 600; - font-size: 15px; - } - - .purchase-summary-breakdown { - display: flex; - flex-direction: column; - gap: 8px; - font-size: 13px; - color: var(--text-secondary); - } - - .purchase-summary-breakdown strong { - color: var(--text-primary); - } - - .purchase-summary-breakdown .purchase-summary-old-price { - margin-left: 6px; - } - - :root[data-theme="dark"] .purchase-option { - background: rgba(15, 23, 42, 0.35); - } - - :root[data-theme="dark"] .purchase-section { - background: rgba(15, 23, 42, 0.45); - } - - :root[data-theme="dark"] .purchase-summary { - background: rgba(15, 23, 42, 0.45); - } - .promo-offers { display: flex; flex-direction: column; @@ -3639,116 +3350,6 @@
- - -