/* ---------- Tiendas online (modules/shops.js) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.shop-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; height: auto; padding: 14px 16px; text-align: left; white-space: normal; border-radius: var(--r-lg); background: var(--surface); }
.shop-card.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.shop-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shop-card-top strong { font-size: 15px; font-weight: 600; }
.shop-card-sub { font-size: 12.5px; color: var(--text3); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-note { padding: 10px 14px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--amber-soft); color: var(--amber); font-size: 13px; }
.shop-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.shop-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.shop-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.shop-url { font-weight: 400; color: var(--text3); font-size: 13px; margin-left: 6px; }
.shop-meta { color: var(--text3); font-size: 12.5px; margin-top: 4px; }
.shop-hook { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.shop-hook span { font-size: 12.5px; color: var(--text2); }
.shop-hook input { flex: 1 1 260px; max-width: 460px; min-width: 0; height: 32px; font-family: var(--font-mono); font-size: 12px; }
.shop-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.danger-text { color: var(--red) !important; }
.shop-tabs { margin-bottom: 12px; }
.shop-help { color: var(--text2); font-size: 13px; margin: 0 0 14px; max-width: 72ch; text-wrap: pretty; }
.shop-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shop-form small { color: var(--text3); font-weight: 400; }
.shop-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.shop-lines { font-size: 13px; line-height: 1.5; }
.shop-reason { color: var(--red); }
.shop-sel { height: 32px; min-width: 200px; font-size: 13px; }
.shop-sel.unmapped { border-color: color-mix(in srgb, var(--red) 45%, var(--border)); }
.shop-g { display: inline-flex; align-items: center; gap: 6px; }
.shop-g input { width: 80px; height: 32px; text-align: right; font-size: 13px; }
.shop-g span { color: var(--text3); font-size: 12px; }
.shop-settings { display: flex; flex-direction: column; gap: 16px; }
.shop-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.shop-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.shop-check b { display: block; font-weight: 500; font-size: 13.5px; }
.shop-check small { display: block; color: var(--text3); font-size: 12.5px; margin-top: 2px; max-width: 64ch; }
.shop-tax { width: 180px; margin-left: 26px; }
.shop-stock-mode { margin-left: 26px; align-self: flex-start; }
@media (max-width: 860px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-form { grid-template-columns: 1fr; }
}
