/* ============================================================================
 * vsc-shop-extra.css — Ascend-style stacked cards + Bundles + Wholesale (v4.43.x)
 * Enqueued after vsc-core.css on the shop archive.
 * ========================================================================== */

/* ---- Stacked card layout (Ascend-style): image -> name -> From price -> category -> button.
   Colors are left to the theme cascade (dark mode paints title/price white); we only set
   layout + sizing here so both light and dark themes stay correct. ---- */
.vsc-acard .vsc-acard-body { gap: 7px; padding: 16px 16px 18px; }
.vsc-acard .vsc-acard-title { flex: 0 0 auto; font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; margin: 0; }
.vsc-acard .vsc-acard-price { text-align: left; margin: 0; line-height: 1.05; }
.vsc-acard .vsc-acard-price-pre { display: inline; font-size: 13.5px; font-weight: 600; color: var(--text-muted); margin: 0 3px 0 0; }
.vsc-acard .vsc-acard-price-amt { font-size: 18px; font-weight: 800; }
.vsc-acard .vsc-acard-sub { margin: 0 0 2px; font-size: 13.5px; }

/* ---- Bundles tab: 6 bundle cards, same grid + card size as Compounds ---- */
.vsc-bundle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; }
@media (max-width: 1200px) { .vsc-bundle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px)  { .vsc-bundle-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 600px)  { .vsc-bundle-grid { gap: 12px; } }

/* strikethrough "was" (sum of vials) inline before the discounted bundle price */
.vsc-acard .vsc-acard-price .vsc-bundle-was { font-size: 14px; font-weight: 500; color: #9AA5B4; text-decoration: line-through; margin-right: 5px; }
.vsc-acard .vsc-acard-price .vsc-bundle-was .woocommerce-Price-amount { color: #9AA5B4; font-weight: 500; }

/* Add-to-Cart = a pixel-match of .vsc-acard-cta (distinct class so the panel's
   `body.vsc-stack-on .vsc-acard-cta{display:none}` rule can never hide it). */
.vsc-bundle-add { margin-top: auto; display: block; width: 100%; text-align: center; background: var(--midnight, #082040); color: #fff; border: 0; padding: 14px; border-radius: 100px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.vsc-bundle-add:hover { background: var(--blue-secondary, #0EA5E9); }
/* Match the compound "View" button EXACTLY, including its dark-mode override (#262E3D). */
html.vsc-dark body:not(.home) .vsc-bundle-add,
html.vsc-dark body:not(.home) .vsc-bundle-add:hover { background: #262E3D !important; }
@media (max-width: 600px) { .vsc-bundle-add { padding: 12px; font-size: 14px; } }

/* ============================ Wholesale tab (on-theme dark cards) ============================ */
.vsc-wholesale { max-width: 1060px; margin: 4px auto 8px; }
.vsc-wh-top { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; margin-bottom: 24px; }
.vsc-wh-intro { background: rgba(38,46,61,0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px 30px; box-shadow: 0 12px 30px rgba(0,0,0,.18); display: flex; flex-direction: column; justify-content: center; }
.vsc-wh-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky, #0EA5E9); margin-bottom: 12px; }
.vsc-wh-h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -1px; line-height: 1.05; font-family: 'Space Grotesk','Inter',sans-serif; color: #F4F6F7; }
.vsc-wh-lede { margin: 0; font-size: 15.5px; line-height: 1.6; color: #AEB8C2; }

/* benefits card (dark, on-theme like the contact page cards) */
.vsc-wh-benefits-card { background: rgba(38,46,61,0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 22px 24px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.vsc-wh-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vsc-wh-benefits li { display: flex; align-items: flex-start; gap: 12px; }
.vsc-wh-ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(14,165,233,.15); color: var(--sky, #0EA5E9); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.vsc-wh-ck svg { width: 15px; height: 15px; }
.vsc-wh-bt b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: #F4F6F7; }
.vsc-wh-bt i { display: block; font-size: 13.5px; font-style: normal; margin-top: 2px; color: #AEB8C2; }

/* navy kit card */
.vsc-wh-kitcard { background: linear-gradient(160deg, #0B1B33 0%, #0F2540 100%); border-radius: 24px; padding: 26px; text-align: center; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); margin: 0 auto 22px; max-width: 780px; }
.vsc-wh-kitcard img { display: block; width: 100%; max-width: 660px; margin: 0 auto; border-radius: 12px; }

/* stats — cyan numbers */
.vsc-wh-stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 72px); margin: 4px 0 28px; flex-wrap: wrap; }
.vsc-wh-stat { text-align: center; }
.vsc-wh-stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -1px; font-family: 'Space Grotesk','Inter',sans-serif; color: var(--sky, #0EA5E9); line-height: 1; }
.vsc-wh-stat span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #AEB8C2; }

/* form card (dark, on-theme like the contact "Send us a message" card) */
.vsc-wh-formcard { max-width: 680px; margin: 0 auto; background: rgba(38,46,61,0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 30px; box-shadow: 0 16px 40px rgba(0,0,0,.20); }
.vsc-wh-formtitle { margin: 0 0 18px; font-size: 22px; font-family: 'Space Grotesk','Inter',sans-serif; text-align: center; color: #F4F6F7; }
.vsc-wh-form { display: grid; gap: 14px; }
.vsc-wh-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vsc-wh-field { display: block; }
.vsc-wh-field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #DCE4EC; }
.vsc-wh-field > span i { color: var(--sky, #0EA5E9); font-style: normal; margin-left: 2px; }
.vsc-wh-field input, .vsc-wh-field textarea { width: 100%; box-sizing: border-box; margin: 0; padding: 13px 16px; border: 1px solid rgba(255,255,255,0.12); background: rgba(10,18,30,0.55); border-radius: 12px; font-family: inherit; font-size: 15px; color: #EAF0F6; outline: none; resize: vertical; }
.vsc-wh-field input::placeholder, .vsc-wh-field textarea::placeholder { color: rgba(230,240,250,0.42); }
.vsc-wh-field input:focus, .vsc-wh-field textarea:focus { border-color: var(--sky, #0EA5E9); background: rgba(10,18,30,0.75); }
.vsc-wh-submit { margin-top: 4px; width: 100%; background: var(--sky, #0EA5E9); color: #fff; border: 0; padding: 15px; border-radius: 100px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; }
.vsc-wh-submit:hover { background: var(--blue-secondary, #0284C7); }
.vsc-wh-submit:disabled { opacity: .65; cursor: default; }
.vsc-wh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vsc-wh-msg { min-height: 0; font-size: 14px; text-align: center; }
.vsc-wh-msg.is-ok  { color: #38d39f; }
.vsc-wh-msg.is-err { color: #ff6b6b; }

/* Wholesale view show/hide */
body.vsc-stack-wholesale .vsc-bundles-view[data-view="bundles"] { display: none !important; }
body.vsc-stack-wholesale .vsc-bundles-view[data-view="build"]   { display: none !important; }
body.vsc-stack-wholesale .vsc-bundles-view[data-view="wholesale"] { display: block; }

@media (max-width: 860px) {
  .vsc-wh-top { grid-template-columns: 1fr; gap: 22px; }
  .vsc-wh-h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .vsc-wh-kitcard { padding: 14px; border-radius: 18px; }
  .vsc-wh-formcard { padding: 20px; }
  .vsc-wh-benefits-card { padding: 18px; }
  .vsc-wh-frow { grid-template-columns: 1fr; }
  .vsc-wh-stat b { font-size: 28px; }
}

/* ---- Compounds pill bar: scroll (never stack) on tablet + phone ---- */
@media (max-width: 820px) {
  .vsc-shop-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -12px 14px; padding: 0 12px 6px; scrollbar-width: none; }
  .vsc-shop-pills::-webkit-scrollbar { display: none; }
  .vsc-shop-pill { flex: 0 0 auto; }
}
