/* VetPets cross-product care bundles (Early Black Friday 2026): bundle pages (/products/bundle-<slug>),
   the home "Bundle up and save" section and the bundle grid on /collections/finger-wipes.
   Copied from the approved Claude Design files (Bundle Offer Page (live).html, Collections (live).html,
   live/vp-live.css, live/vp-fixes.css; Jacob 2026-11-16). Built by scripts/build-bundle-pages.mjs. */

/* Event marks (Early Black Friday badge, today box, card band, giveaway…) only while the event layer runs:
   its stylesheet (ebf-2026.css) and html.ebf26 exist only inside the sale window. */
html:not(.ebf26) .vpb-ebf{display:none !important}

/* ---------- bundle page ---------- */
/* The live offer-page CSS hides the store header group on offer pages. Bundle pages keep the live header and trust bar
   (Jacob 2026-11-16: visitors must be able to navigate away like on a PDP). */
html body:has(#freshwipes-offer-page.vpb-page) .shopify-section-group-header-group:not(.ebf-replaced),html body:has(#freshwipes-offer-page.vpb-page) .announcement-bar{display:block!important}
/* The page ships with the event bar and the ticker marked replaced: outside the sale window the ticker shows again. */
html:not(.ebf26) body:has(#freshwipes-offer-page.vpb-page) .section-announcement-ticker{display:block!important}
/* Keep the store theme (base.css, loaded for the header) from leaking into the offer page. */
#freshwipes-offer-page.vpb-page{letter-spacing:normal;line-height:normal}
#freshwipes-offer-page.vpb-page :is(h1,h2,h3,h4,h5,h6){font-family:inherit;word-break:normal}
#freshwipes-offer-page.vpb-page .vp-dd__body h4{font-weight:700;color:inherit;line-height:inherit}
#freshwipes-offer-page.vpb-page .vp-dd__body h5{line-height:inherit}
#freshwipes-offer-page.vpb-page .wave{display:block}
#freshwipes-offer-page .slide{position:relative}
/* Image badges: the live Early Black Friday badge (top) + "See the difference OR your money back" (bottom).
   The bundle image gets white space above and below (vp-bundles.js fitHero) so no badge covers a product. */
#freshwipes-offer-page .s-offer img{box-sizing:border-box;object-fit:contain}
#freshwipes-offer-page .vpb-img-ebf{position:absolute;top:14px;left:14px;z-index:2;margin:0 !important;max-width:calc(100% - 28px);box-shadow:0 8px 22px rgba(10,27,43,.28)}
#freshwipes-offer-page .vpb-img-assure{position:absolute;left:14px;bottom:14px;z-index:2;display:flex;align-items:center;gap:10px;max-width:min(410px,calc(100% - 28px));background:#fff;border:1px solid #d3ecf8;border-radius:14px;padding:10px 14px;box-shadow:0 10px 24px rgba(10,27,43,.16);text-align:left}
#freshwipes-offer-page .vpb-img-assure svg{flex-shrink:0}
#freshwipes-offer-page .vpb-img-assure-t{font-weight:800;font-size:14px;line-height:1.2;color:var(--ink)}
#freshwipes-offer-page .vpb-img-assure-p{font-size:12px;line-height:1.3;color:var(--muted);margin-top:2px}
@media (max-width:749px){#freshwipes-offer-page .vpb-img-ebf{top:10px;left:10px}#freshwipes-offer-page .vpb-img-assure{left:10px;bottom:10px;padding:8px 10px;gap:8px;max-width:calc(100% - 20px)}#freshwipes-offer-page .vpb-img-assure-t{font-size:12.5px}#freshwipes-offer-page .vpb-img-assure-p{font-size:11px}}
/* Price box: the bundle is the product, so this replaces the plan picker. */
#freshwipes-offer-page .vpb-box{margin-top:10px;border:2px solid var(--blue);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 22px #47b5e924}
#freshwipes-offer-page .vpb-top{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--mist)}
#freshwipes-offer-page .vpb-name{font-weight:800;font-size:16px;line-height:1.2}
#freshwipes-offer-page .vpb-areas{font-size:12.5px;color:var(--muted);margin-top:3px}
#freshwipes-offer-page .vpb-price{margin-left:auto;text-align:right}
#freshwipes-offer-page .vpb-now{font-weight:800;font-size:24px;line-height:1}
#freshwipes-offer-page .vpb-was{font-size:13px;color:var(--muted);text-decoration:line-through;margin-top:4px}
#freshwipes-offer-page .vpb-save{display:inline-block;margin-top:6px;background:var(--teal);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border-radius:999px}
#freshwipes-offer-page .vpb-row{display:flex;align-items:center;gap:10px;padding:9px 16px;border-top:1px solid #e6f1f6;font-size:13.5px}
#freshwipes-offer-page .vpb-row img{width:34px;height:34px;object-fit:cover;border-radius:8px}
#freshwipes-offer-page .vpb-row span.a{color:var(--muted)}
#freshwipes-offer-page .vpb-row s{margin-left:auto;color:var(--muted);font-size:12.5px}
#freshwipes-offer-page .vpb-ship{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid #e6f1f6;font-size:12.5px;font-weight:600;color:var(--blue-ink)}
#freshwipes-offer-page .vp-dd__body h5{margin:12px 0 4px;font-size:13px;font-weight:800;color:var(--blue-ink);text-transform:uppercase;letter-spacing:.06em}
#freshwipes-offer-page .vpb-form-host .atc-button{width:100%}
/* Section grids sized to the number of products in the bundle. Every section image is square at the source, so nothing is cropped. */
#freshwipes-offer-page .vpb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:1100px}
@media (min-width:900px){#freshwipes-offer-page .vpb-grid{gap:18px}#freshwipes-offer-page .vpb-grid.n5{grid-template-columns:repeat(5,minmax(0,1fr))}#freshwipes-offer-page .vpb-grid.n2{max-width:860px}}
#freshwipes-offer-page .vpb-proof .imw{border-radius:16px;overflow:hidden;aspect-ratio:1/1}
#freshwipes-offer-page .vpb-proof .im{width:100%;height:100%;object-fit:cover}
#freshwipes-offer-page .vpb-proof p{margin:8px 2px 0;font-size:13px;line-height:1.4;color:var(--muted);text-align:left}
#freshwipes-offer-page .vpb-proof p b{display:block;color:var(--ink);font-size:13.5px;margin-bottom:2px}
#freshwipes-offer-page .vpb-grid .mech-media{aspect-ratio:1/1}
#freshwipes-offer-page .vpb-grid .mech-media img{object-fit:cover;width:100%;height:100%}
/* Routine: one step card per product. */
#freshwipes-offer-page .vpb-step{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px #47b5e924;text-align:left;display:flex;flex-direction:column}
#freshwipes-offer-page .vpb-step img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
#freshwipes-offer-page .vpb-step-b{padding:14px 16px 18px}
#freshwipes-offer-page .vpb-step-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
#freshwipes-offer-page .vpb-step-n{width:26px;height:26px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#freshwipes-offer-page .vpb-step-c{font-weight:800;font-size:14px;line-height:1.2}
#freshwipes-offer-page .vpb-step p{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink)}
/* Guarantee: a real owner photo (4:5 at the source) beside the guarantee card. Offer card: 1:1 product scene. */
#freshwipes-offer-page .guar-media{aspect-ratio:4/5}
@media (min-width:900px){#freshwipes-offer-page .guar{grid-template-columns:1fr 380px;max-width:880px}}
#freshwipes-offer-page .offer-media{padding:0;overflow:hidden}
#freshwipes-offer-page .offer-media img{object-fit:cover}
#freshwipes-offer-page .vpb-collage{width:100%;max-width:900px;border-radius:18px;display:block;margin:0 auto 18px}

/* ---------- bundle cards (home + collection) ---------- */
/* A static grid, as the design shows the live card section: every bundle visible, 2 columns on phones, 3 from 990px. */
.vpb-static .vp-prodcards__track{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;transform:none !important}
@media screen and (min-width:990px){.vpb-static .vp-prodcards__track{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
.vpb-static .vp-prodcards__slide{display:flex;width:auto !important;min-width:0;flex:none}
.vpb-static .vp-prodcards__slide>.vp-prodcards__card{width:100%}
.vpb-static .vp-prodcards__arrows,.vpb-static .vp-prodcards__dots{display:none !important}
.vpl-price{display:flex;align-items:baseline;gap:8px;font-weight:700;color:#10232b;font-size:20px;line-height:1}
.vpl-price s{font-size:14px;font-weight:500;color:#5a737d}
.vpl-pack{object-fit:contain !important;background:#fff}
/* Collection: the event layer's guarantee + giveaway line moves under the bundle grid (vp-bundles.js copies it). */
html.vpb-foot .vp-prodcards:not([data-vpb-grid]) .ebf-coll-foot{display:none !important}
/* The event layer shows the collection's card carousel as a grid: the carousel's loop copies (aria-hidden) would show
   every product three times once there are more cards than fit in one view (PawFoam, Jacob 2026-11-18). */
.ebf-cardgrid .vp-prodcards__slide[aria-hidden="true"]{display:none !important}
html.ebf26 .ebf-cardgrid.vpl-b3 .vp-prodcards__track{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
@media (min-width:990px){html.ebf26 .ebf-cardgrid.vpl-b3 .vp-prodcards__track{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
