/* Shopify CSV Checker 专属样式（复用全站变量） */
.container.narrow { max-width: 860px; }
.tool-hero { padding: 32px 0 8px; }
.tool-hero h1 { font-size: 26px; letter-spacing: -0.02em; }
.tool-hero h1 em { font-style: normal; color: var(--warn); }
.tool-hero .sub { margin-bottom: 12px; }
.trust-row { display: flex; gap: 16px; font-size: 13px; color: var(--good); font-weight: 600; flex-wrap: wrap; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.card h2 { margin: 0 0 12px; font-size: 18px; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; }
.hidden { display: none !important; }
.card code { background: #eef1f4; border-radius: 4px; padding: 1px 5px; font-size: 13px; }

.dz-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dz {
  border: 2px dashed #b9c6d2; border-radius: var(--radius);
  padding: 22px 16px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dz:hover, .dz.dragover { border-color: var(--accent); background: #f0f6fc; }
.dz.loaded { border-color: var(--good); border-style: solid; background: #f2f9f4; }
.dz-title { font-weight: 700; margin: 0 0 4px; }
.dz-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.dz-file { font-size: 13.5px; color: var(--accent); margin: 0; word-break: break-all; }
.try-sample { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.try-sample .btn[disabled] { opacity: .5; cursor: not-allowed; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat.hot { border-color: #f0c9a8; background: #fff9f2; }
.stat-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.stat.hot .stat-num { color: var(--warn); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

#wipeList .wipe-row { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
#wipeList .wipe-row:last-child { border-bottom: none; }
#wipeList .none { color: var(--good); font-size: 14px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 12px; font-size: 12.5px; cursor: pointer; color: var(--muted);
}
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.table-wrap { overflow-x: auto; }
table#detailTable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
#detailTable th, #detailTable td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
#detailTable th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
#detailTable td .old { color: var(--muted); text-decoration: line-through; }
#detailTable td .new { font-weight: 600; }
#detailTable td.price-up { color: var(--warn); font-weight: 600; }
#detailTable td.price-down { color: var(--good); font-weight: 600; }

.actions-row { display: flex; gap: 10px; }
.cta-card { border: 2px solid var(--accent); background: #f4f9ff; }
.cta-card h2 { font-size: 20px; }
.cta-body { font-size: 15.5px; }
.btn.big { font-size: 17px; padding: 13px 26px; }
.cta-card .tiny { margin-top: 10px; }

.fact-list { padding-left: 20px; font-size: 14.5px; }
.fact-list li { margin: 8px 0; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
details:last-child { border-bottom: none; }
summary { cursor: pointer; font-weight: 600; font-size: 14.5px; }
details p { font-size: 14px; color: var(--muted); margin: 8px 0 2px; }

/* 访问码解锁行 */
.unlock-input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px; width: 240px; text-transform: uppercase; }
.actions-row { align-items: center; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(15,25,35,.55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius); max-width: 420px; width: 100%; padding: 26px; position: relative; }
.modal h3 { margin: 0 0 8px; }
.modal form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.modal input[type=email] { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.modal-x { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; }

@media (max-width: 640px) {
  .dz-pair { grid-template-columns: 1fr; }
  .stat-num { font-size: 21px; }
}
