/* all-sp-shop.css
 * Shop hub styles (archive-product.php on /shop/)
 * All classes are prefixed with: all-sp-
 */
:root{
  --all-sp-bg:#f6f8fc;
  --all-sp-panel:#ffffff;
  --all-sp-text:#0f172a;
  --all-sp-muted:#475569;
  --all-sp-muted2:#64748b;
  --all-sp-line:rgba(15,23,42,.10);
  --all-sp-blue:#0b4aa2;
  --all-sp-blue2:#0a3f8c;
  --all-sp-orange:#ff7a18;
  --all-sp-orange2:#f06a07;
  --all-sp-shadow:0 14px 40px rgba(2,8,23,.10);
  --all-sp-shadow2:0 10px 24px rgba(2,8,23,.10);
  --all-sp-radius:18px;
  --all-sp-radius2:24px;
  --all-sp-max:1290px;
  --all-sp-focus:0 0 0 3px rgba(255,122,24,.30);
  --all-sp-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

#all-sp-shop-hub.all-sp-wrap{
  font-family:var(--all-sp-font);
  color:var(--all-sp-text);
  background:
    radial-gradient(900px 480px at 20% -10%, rgba(11,74,162,.10), transparent 60%),
    radial-gradient(720px 520px at 92% 6%, rgba(255,122,24,.12), transparent 56%),
    var(--all-sp-bg);
  padding: 10px 0 22px;
}

#all-sp-shop-hub a{color:inherit}
#all-sp-shop-hub b{font-weight:850}
.all-sp-clw{color:#fff!important;}
.all-sp-hero{padding-bottom:22px;}

.all-sp-container{width:min(var(--all-sp-max), calc(100% - 40px)); margin:0 auto}
.all-sp-sectionHead{display:flex; justify-content:space-between; align-items:flex-end; gap:14px; flex-wrap:wrap; margin-bottom:14px}

.all-sp-h1{margin:10px 0 8px; font-size: clamp(26px, 2.4vw, 40px); line-height:1.1; letter-spacing:-.4px}
.all-sp-h2{margin:0; font-size:20px; letter-spacing:-.2px}
.all-sp-h3{margin:0 0 6px; font-size:16px}
.all-sp-lead{margin:0; color:var(--all-sp-muted); font-size:15px; max-width:78ch}
.all-sp-sub{margin:0; color:var(--all-sp-muted); font-size:13.5px; }
.all-sp-muted{color:var(--all-sp-muted); font-size:13.5px}
.all-sp-mini{margin:0; color:var(--all-sp-muted); font-size:13px}

.p-sum-crumbs {
  font-size: 13px;
  color: #475569;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.p-sum-crumbs a {
  text-decoration: none;
  color: #475569;
}

.p-sum-crumbs a:hover {
  text-decoration: none;
  color: #475569;
}

.all-sp-tag{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(11,74,162,.08);
  color:var(--all-sp-blue);
  border:1px solid rgba(11,74,162,.16);
  font-size:12px;
  font-weight:650;
  width:fit-content;
}

.all-sp-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 12px;
  border:1px solid var(--all-sp-line);
  border-radius:999px;
  background:rgba(255,255,255,.70);
  backdrop-filter: blur(8px);
  font-size:13px;
  color:var(--all-sp-muted);
  line-height: 1.8;
}
.all-sp-pill b{color:var(--all-sp-text)}

.all-sp-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--all-sp-line);
  background:rgba(255,255,255,.70);
  font-weight:800;
  text-decoration:none;
  font-size:14px;
  cursor:pointer;
  transition: transform .10s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.all-sp-btn:focus{ outline:none; box-shadow: var(--all-sp-shadow2), var(--all-sp-focus) }
.all-sp-btn:hover{ transform: translateY(-1px); box-shadow: var(--all-sp-shadow2) }

.all-sp-btnPrimary{
  border-color: rgba(255,122,24,.35);
  background: linear-gradient(180deg, rgba(255,122,24,1), rgba(240,106,7,1));
  color:#fff;
}
.all-sp-btnPrimary:hover{ background: linear-gradient(180deg, rgba(255,122,24,1), rgba(230,95,0,1)) }

.all-sp-btnSecondary{
  border-color: rgba(11,74,162,.25);
  background: linear-gradient(180deg, rgba(11,74,162,1), rgba(10,63,140,1));
  color:#fff;
}

.all-sp-btnGhost{
  background:transparent;
  border-color: rgba(11,74,162,.20);
  color:var(--all-sp-blue);
}
.all-sp-btnGhost:hover{ background:rgba(11,74,162,.06) }

.all-sp-btnSm{ padding:8px 10px; font-size:13px }

.all-sp-linkRow{margin-top:12px; display:flex; gap:14px; flex-wrap:wrap; color:var(--all-sp-muted2); font-size:13px}
.all-sp-link{text-decoration:none}
.all-sp-link:hover{text-decoration:underline}

.all-sp-linkStrong{font-size:13px;  padding-right:10px; text-decoration:none; color:var(--all-sp-blue)}
.all-sp-linkStrong:hover{text-decoration:underline}
/* Strong link with dot + subtle motion */
a.all-sp-linkStrong{
  position:relative;
  display:inline-block;
  padding-left:14px;          /* 给小圆点留位置 */
  color:#1a2b4a;
  text-decoration:none;
  transition:transform .18s ease, color .18s ease;
  will-change:transform;
}

a.all-sp-linkStrong::before{
  content:"";
  position:absolute;
  left:0;
  top:0.62em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  transform:translateY(-50%) scale(1);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  opacity:.9;
}

/* 微微动感：文字轻移 + 圆点弹一下 */
a.all-sp-linkStrong:hover,
a.all-sp-linkStrong:focus-visible{
  transform:translateX(2px);
}

a.all-sp-linkStrong:hover::before,
a.all-sp-linkStrong:focus-visible::before{
  transform:translateY(-50%) scale(1.25);
  box-shadow:0 0 0 4px rgba(26,43,74,.12);
  opacity:1;
}

/* 轻微的“底部强调线”动效（不影响布局） */
a.all-sp-linkStrong::after{
  content:"";
  position:absolute;
  left:14px;                  /* 从文字开始处画线 */
  right:0;
  bottom:-2px;
  height:2px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  opacity:.22;
  transition:transform .18s ease, opacity .18s ease;
}

a.all-sp-linkStrong:hover::after,
a.all-sp-linkStrong:focus-visible::after{
  transform:scaleX(1);
  opacity:.32;
}

/* 可选：点击时有一点点“按下感” */
a.all-sp-linkStrong:active{
  transform:translateX(2px) scale(.99);
}


.all-sp-heroGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:stretch}
.all-sp-heroCard{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow);
  padding:22px;
  position:relative;
  overflow:hidden;
}
.all-sp-heroCard:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(360px 180px at 15% 18%, rgba(11,74,162,.14), transparent 60%),
    radial-gradient(360px 200px at 86% 20%, rgba(255,122,24,.16), transparent 56%);
  pointer-events:none;
}
.all-sp-heroCard > *{position:relative}

.all-sp-ctaRow{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}

.all-sp-sideCard{
  background: rgba(255,255,255,.82);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
}
.all-sp-sideTop{display:grid; gap:6px}
.all-sp-path{
  border:1px solid var(--all-sp-line);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.70);
  display:flex;
  flex-direction:column;
  gap:8px;
  cursor:pointer;
  transition: transform .10s ease, background .18s ease, box-shadow .18s ease;
  text-decoration:none;
}
.all-sp-path:hover{ transform: translateY(-1px); box-shadow: var(--all-sp-shadow2) }
.all-sp-pathK{font-weight:900}
.all-sp-pathV{font-size:13px; color:var(--all-sp-muted)}
.all-sp-pathGo{font-size:12px; color:var(--all-sp-blue); font-weight:800}
.all-sp-note{font-size:12px; color:var(--all-sp-muted2)}

@media (max-width: 980px){
  .all-sp-heroGrid{grid-template-columns: 1fr}
}

.all-sp-filters{padding:8px 0 16px}
.all-sp-status{font-size:12px; color:var(--all-sp-muted2)}
.all-sp-filterBar{
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center;
  background:rgba(255,255,255,.65);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  padding:12px;
  box-shadow: var(--all-sp-shadow2);
}
.all-sp-filterGroup{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.all-sp-filterLabel{font-size:12px; color:var(--all-sp-muted2); font-weight:800; margin-right:6px}

.all-sp-chip{
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  padding:7px 10px;
  background:rgba(255,255,255,.80);
  font-size:12px;
  color:var(--all-sp-muted);
  cursor:pointer;
  user-select:none;
  transition: background .18s ease, border-color .18s ease, transform .10s ease;
  white-space:nowrap;
}
.all-sp-chip:hover{ transform: translateY(-1px) }
.all-sp-chip.all-sp-active{
  background:rgba(11,74,162,.10);
  border-color: rgba(11,74,162,.35);
  color:var(--all-sp-blue);
  font-weight:850;
}
.all-sp-chipOrange.all-sp-active{
  background: rgba(255,122,24,.12);
  border-color: rgba(255,122,24,.40);
  color: var(--all-sp-orange2);
}
.all-sp-chipReset{background:transparent}
.all-sp-chipReset:hover{background:rgba(15,23,42,.04)}

.all-sp-categories{padding:10px 0 18px}
.all-sp-grid{display:grid; gap:14px; grid-template-columns: repeat(3, minmax(0, 1fr))}
@media (max-width: 980px){ .all-sp-grid{grid-template-columns: repeat(2, minmax(0, 1fr));} }
@media (max-width: 640px){ .all-sp-grid{grid-template-columns: 1fr;} }

.all-sp-card{
  background:rgba(255,255,255,.82);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow2);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.all-sp-card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(280px 140px at 18% 10%, rgba(11,74,162,.10), transparent 60%),
    radial-gradient(220px 140px at 92% 18%, rgba(255,122,24,.10), transparent 56%);
  pointer-events:none;
  opacity:.65;
}
.all-sp-card > *{position:relative}

.all-sp-cardTop{display:flex; gap:10px; align-items:flex-start}
.all-sp-cardTitle{flex:1 1 auto}
.all-sp-cardSub{margin:0; color:var(--all-sp-muted); font-size:13px}
.all-sp-count{
  margin-left:auto;
  font-size:12px;
  color:var(--all-sp-muted2);
  border:1px solid var(--all-sp-line);
  border-radius:999px;
  padding:6px 10px;
  background:rgba(255,255,255,.75);
  font-weight:800;
  white-space:nowrap;
}

.all-sp-metaRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.all-sp-chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.all-sp-chipLink{
  text-decoration:none;
  font-size:12px;
  color:var(--all-sp-muted);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.75);
}
.all-sp-chipLink:hover{ border-color: rgba(11,74,162,.30); color:var(--all-sp-blue) }

.all-sp-cardLinks{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; align-items:center}
.all-sp-spacer{flex:1 1 auto}

.all-sp-belowGrid{margin-top:12px}
.all-sp-viewAll{color:var(--all-sp-muted); text-decoration:none; font-weight:800}
.all-sp-viewAll:hover{text-decoration:underline; color:var(--all-sp-text)}

.all-sp-how{padding:10px 0 18px}
.all-sp-howGrid{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:14px}
@media (max-width: 980px){ .all-sp-howGrid{grid-template-columns: 1fr} }
.all-sp-step{
  background:rgba(255,255,255,.82);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow2);
  padding:16px;
}
.all-sp-stepNum{
  width:34px; height:34px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-weight:950; color:#fff;
  background: linear-gradient(180deg, var(--all-sp-blue), var(--all-sp-blue2));
  margin-bottom:10px;
}
.all-sp-ul{margin:8px 0 0; padding-left:18px; color:var(--all-sp-muted); font-size:13.5px}

.all-sp-shortlists{padding:10px 0 18px}
.all-sp-shortGrid{display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:14px}
@media (max-width: 980px){ .all-sp-shortGrid{grid-template-columns: 1fr} }
.all-sp-list{
  background:rgba(255,255,255,.82);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow2);
  padding:16px;
}
.all-sp-listLinks{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}

.all-sp-rfq{padding:10px 0 18px}
.all-sp-rfqGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; align-items:stretch}
@media (max-width: 980px){ .all-sp-rfqGrid{grid-template-columns: 1fr} }
.all-sp-panel{
  background:rgba(255,255,255,.86);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow);
  padding:18px;
}
.all-sp-check{display:grid; gap:10px; margin-top:12px}
.all-sp-item{
  display:grid; grid-template-columns: 20px 1fr;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.72);
}
.all-sp-dot{
  width:18px; height:18px; border-radius:6px;
  background:rgba(255,122,24,.18);
  border:1px solid rgba(255,122,24,.35);
  margin-top:2px;
}
.all-sp-k{font-weight:900}
.all-sp-v{font-size:13px; color:var(--all-sp-muted); margin-top:2px}
.all-sp-panelActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; align-items:center}
.all-sp-micro{margin-top:10px; font-size:12px; color:var(--all-sp-muted2)}

.all-sp-pdf{padding:10px 0 18px}
.all-sp-pdfGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; align-items:stretch}
@media (max-width: 980px){ .all-sp-pdfGrid{grid-template-columns: 1fr} }
.all-sp-download{
  background: linear-gradient(180deg, rgba(11,74,162,.10), rgba(255,122,24,.08));
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow);
  padding:18px;
  display:flex; flex-direction:column; justify-content:space-between; gap:12px;
}
.all-sp-dk{font-weight:950}
.all-sp-dv{font-size:13.5px; color:var(--all-sp-muted); margin-top:4px}
.all-sp-pillStack{display:grid; gap:8px; margin-top:8px}

.all-sp-faq{padding:10px 0 18px}
.all-sp-faqList{display:grid; gap:10px}
.all-sp-details{
  background:rgba(255,255,255,.82);
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow2);
  padding:12px 14px;
}
.all-sp-summary{
  cursor:pointer;
  list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.all-sp-summary::-webkit-details-marker{display:none}
.all-sp-chev{
  width:28px; height:28px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.08);
  color:var(--all-sp-muted);
  flex:0 0 auto;
  transition: transform .15s ease;
}
.all-sp-details[open] .all-sp-chev{transform: rotate(180deg)}
.all-sp-faqP{margin:10px 0 0; color:var(--all-sp-muted); font-size:13.5px; max-width:88ch}

.all-sp-final{padding:10px 0 18px}
.all-sp-finalCard{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border:1px solid var(--all-sp-line);
  border-radius: var(--all-sp-radius2);
  box-shadow: var(--all-sp-shadow);
  padding:18px;
}
.all-sp-finalGrid{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap}
.all-sp-finalLeft{display:grid; gap:8px; max-width:78ch}
.all-sp-finalRight{display:flex; gap:10px; flex-wrap:wrap}
/* ===== all-sp Copy checklist toast (shop hub only) ===== */
#all-sp-shop-hub .all-sp-toast{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%) translateY(10px);
  opacity:0;
  pointer-events:none;
  z-index:9999;
  background:rgba(15,23,42,.92);
  color:#fff;
  padding:10px 14px;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  font-size:13px;
  font-weight:800;
  transition: opacity .18s ease, transform .18s ease;
}
#all-sp-shop-hub .all-sp-toast.is-on{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
#all-sp-toast.all-sp-toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.92);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  z-index: 999999;
  transition: opacity .15s ease, transform .15s ease;
}
#all-sp-toast.all-sp-toast.is-on{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.all-sp-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.all-sp-modal.is-open{
  display:block;
}
.all-sp-modalOverlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(2px);
}
.all-sp-modalDialog{
  position:relative;
  max-width:720px;
  margin:10vh auto 0;
  background:#fff;
  border-radius:16px;
  box-shadow:0 22px 60px rgba(15,23,42,.22);
  overflow:hidden;
}
.all-sp-modalHead{
  padding:14px 18px;
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(90deg,#f97316 0%,#2563eb 100%);
}
.all-sp-modalTitle{
  font-size:16px;
  letter-spacing:.2px;
}
.all-sp-modalClose{
  appearance:none;
  border:0;
  background:transparent;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:0 2px;
}
.all-sp-modalBody{
  padding:18px 18px 16px;
}
.all-sp-modalLead{
  margin:0 0 10px;
  font-size:15px;
}
.all-sp-modalTip{
  margin:0 0 14px;
  color:rgba(15,23,42,.68);
  font-size:13px;
}
.all-sp-modalActions{
  display:flex;
  justify-content:flex-end;
}
html.all-sp-modalLock,
html.all-sp-modalLock body{
  overflow:hidden;
}
