/* PLUGIN PAGES in the website's design (2026-10-30): /plugins/<store>/ and /plugins/<store>/p/<code>. Uses plugin-store.css for
   the buy-box pieces (ps-btn, ps-plan, ps-chip ...). */
.pg { background: #f6f8fb; padding-bottom: 60px; }
.pg-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.pg-hero { background: radial-gradient(900px 380px at 85% -10%, rgba(225, 29, 42, .10), transparent 60%), radial-gradient(800px 420px at 0% 120%, rgba(14, 165, 233, .12), transparent 60%), #0a3868;
  color: #fff; padding: 52px 0 46px; }
.pg-kick { display: inline-block; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.pg-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 14px 0 10px; max-width: 760px; }
.pg-hero p { color: #d6e2f3; font-size: 17px; max-width: 720px; margin: 0 0 18px; }
.pg-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-badges span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; }
.pg-bar { background: #fff; border-bottom: 1px solid #e6e9f0; font-size: 14px; }
.pg-bar .pg-wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.pg-bar a { font-weight: 600; }
.pg-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 0; }
.pg-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid #dfe5ee; background: #fff; font-size: 13.5px; font-weight: 600; color: #334155; text-decoration: none; }
.pg-filter a.on { background: #0a3868; border-color: #0a3868; color: #fff; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 22px; }
.pg-grid.one { grid-template-columns: minmax(0, 760px); }
.pg-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e6e9f0; border-radius: 18px; padding: 20px; color: inherit; text-decoration: none;
  box-shadow: 0 6px 18px rgba(16, 35, 63, .06); transition: box-shadow .15s, transform .15s; }
.pg-card:hover { box-shadow: 0 14px 34px rgba(16, 35, 63, .12); transform: translateY(-2px); }
.pg-card-top { display: flex; gap: 14px; align-items: center; }
.pg-card h2 { font-size: 19px; margin: 0 0 2px; color: #0f172a; }
.pg-sw { font-size: 13px; color: #64748b; }
.pg-icon { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; background: #0a3868; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 26px; }
.pg-icon img { width: 100%; height: 100%; object-fit: cover; }
.pg-icon.big { width: 96px; height: 96px; border-radius: 22px; font-size: 38px; }
.pg-tag { margin: 0; color: #334155; font-size: 15px; line-height: 1.55; }
.pg-pts { margin: 0; padding-left: 18px; color: #475569; font-size: 14px; display: grid; gap: 3px; }
.pg-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; border-top: 1px solid #eef1f5; padding-top: 12px; }
.pg-from small { color: #64748b; font-size: 12.5px; } .pg-from b { font-size: 22px; color: #0f172a; }
.pg-from span { display: block; font-size: 12.5px; color: #64748b; }
.pg-go { font-weight: 700; color: #0a3868; font-size: 14px; }
.pg-empty { margin-top: 22px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; padding: 28px; text-align: center; color: #64748b; }
.pg-how { margin-top: 34px; background: #fff; border: 1px solid #e6e9f0; border-radius: 18px; padding: 22px 24px; }
.pg-how h2 { margin: 0 0 10px; font-size: 20px; }
.pg-how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #334155; }
/* one plugin */
.pg-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-top: 18px; align-items: start; }
.pg-main { min-width: 0; }
.pg-crumb { margin: 0 0 12px; font-size: 14px; }
.pg-head { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #e6e9f0; border-radius: 20px; padding: 22px; }
.pg-head h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 4px; }
.pg-meta { color: #64748b; font-size: 14px; }
.pg-tagline { font-size: 16.5px; color: #334155; margin: 10px 0 14px; line-height: 1.55; }
.pg-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-video { margin-top: 18px; }
.pg-sec { margin-top: 18px; background: #fff; border: 1px solid #e6e9f0; border-radius: 20px; padding: 22px 24px; }
.pg-sec h2 { font-size: 21px; margin: 0 0 14px; }
.pg-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pg-feat { border: 1px solid #eef1f5; background: #fafbfd; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.pg-feat b { color: #0a3868; font-size: 15px; } .pg-feat span { color: #475569; font-size: 14px; line-height: 1.5; }
.pg-checks, .pg-req { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg-checks li, .pg-req li { position: relative; padding-left: 28px; color: #334155; line-height: 1.55; }
.pg-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.pg-req li::before { content: "•"; position: absolute; left: 8px; color: #0a3868; font-weight: 800; }
.pg-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; padding-top: 6px; }
.pg-plan { position: relative; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.pg-plan small { color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.pg-plan b { font-size: 26px; color: #0f172a; } .pg-plan span { font-size: 12.5px; color: #64748b; }
.pg-plan.trial { background: #f0fdf4; border-color: #bbf7d0; }
.pg-plan.best { border-color: #0a3868; box-shadow: 0 8px 22px rgba(10, 56, 104, .14); }
.pg-plan em { position: absolute; top: -10px; right: 12px; background: #e11d2a; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; }
.pg-small { font-size: 13.5px; color: #64748b; margin: 12px 0 0; }
.pg-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.pg-steps li { counter-increment: s; position: relative; padding-left: 42px; min-height: 30px; color: #334155; line-height: 1.55; }
.pg-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: #0a3868; color: #fff; font-weight: 800; display: grid; place-items: center; }
.pg-faq { border-top: 1px solid #eef1f5; padding: 12px 0; }
.pg-faq:first-of-type { border-top: 0; }
.pg-faq summary { cursor: pointer; font-weight: 700; color: #0f172a; }
.pg-faq p { margin: 8px 0 0; color: #475569; line-height: 1.6; }
.pg-side { position: sticky; top: 16px; }
.pg-buy { border-radius: 20px; }
.ps-plan.pg-best { border-color: #0a3868; background: #f5f8fd; }
.pg-soon b { font-size: 18px; } .pg-soon p { color: #475569; font-size: 14px; }
@media (max-width: 960px) { .pg-detail { grid-template-columns: minmax(0, 1fr); } .pg-side { position: static; } }
@media (max-width: 600px) { .pg-head { flex-direction: column; } .pg-grid { grid-template-columns: minmax(0, 1fr); } .pg-hero { padding: 36px 0 32px; } }
/* ---------------------------------------------------------------- plugin cards (2026-10-30, v2): a product card -- visual + details */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; margin-top: 24px; }
.pc-grid.one { grid-template-columns: minmax(0, 1fr); }
.pc { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8f0; border-radius: 22px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 35, 63, .07); transition: box-shadow .2s, transform .2s; }
.pc:hover { box-shadow: 0 22px 48px rgba(16, 35, 63, .14); transform: translateY(-3px); }
.pc-visual { position: relative; display: grid; place-items: center; min-height: 210px; text-decoration: none; overflow: hidden;
  background:
    radial-gradient(420px 220px at 80% 0%, rgba(14, 165, 233, .45), transparent 65%),
    radial-gradient(380px 240px at 0% 100%, rgba(225, 29, 42, .30), transparent 65%),
    linear-gradient(155deg, #0b1f4d, #12347a 60%, #0b1f4d); }
.pc-visual::before { content: ""; position: absolute; inset: 0; opacity: .35;      /* blueprint grid */
  background-image: linear-gradient(rgba(147, 197, 253, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .25) 1px, transparent 1px),
                    linear-gradient(rgba(147, 197, 253, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .12) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
.pc-sw { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; border-radius: 999px; padding: 4px 11px; backdrop-filter: blur(4px); }
.pc-flag { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 11px; }
.pc-flag.ok { background: #dcfce7; color: #166534; } .pc-flag.soon { background: #fef3c7; color: #92400e; }
.pc-ico { position: relative; width: 104px; height: 104px; border-radius: 26px; overflow: hidden; display: grid; place-items: center; background: #1d4ed8;
  color: #fff; font-size: 42px; font-weight: 800; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .45); }
.pc-ico img { width: 100%; height: 100%; object-fit: cover; }
.pc-tools { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pc-tools i { font-style: normal; font-size: 11.5px; font-weight: 600; color: #e0ecff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pc-body h2 { margin: 0; font-size: 21px; line-height: 1.25; } .pc-body h2 a { color: #0f172a; text-decoration: none; }
.pc-body h2 a:hover { color: #1d4ed8; }
.pc-tag { margin: 0; color: #475569; font-size: 15px; line-height: 1.55; }
.pc-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.pc-feats li { position: relative; padding-left: 22px; font-size: 13.5px; color: #334155; line-height: 1.4; }
.pc-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #e0ecff; color: #1d4ed8;
  font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.pc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: auto; padding-top: 4px; }
.pc-plans span { position: relative; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; }
.pc-plans small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.pc-plans b { font-size: 19px; color: #0f172a; }
.pc-plans .best { border-color: #1d4ed8; background: #f5f8ff; }
.pc-plans em { position: absolute; top: -9px; right: 8px; font-style: normal; font-size: 10px; font-weight: 800; background: #e11d2a; color: #fff; border-radius: 999px; padding: 1px 7px; }
.pc-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-cta .ps-btn { flex: 1; min-width: 140px; }
/* one plugin: a wide product card */
.pc-wide { flex-direction: row; }
.pc-wide .pc-visual { flex: 0 0 42%; min-height: 360px; }
.pc-wide .pc-ico { width: 132px; height: 132px; border-radius: 32px; }
.pc-wide .pc-body { padding: 28px 30px; }
.pc-wide .pc-body h2 { font-size: 27px; }
@media (max-width: 820px) { .pc-wide { flex-direction: column; } .pc-wide .pc-visual { flex-basis: auto; min-height: 230px; } .pc-feats { grid-template-columns: 1fr; } }
.pc-visual { padding: 46px 14px 54px; }
@media (max-width: 600px) { .pc-visual { min-height: 240px; } .pc-ico { width: 92px; height: 92px; } }
