/* Zestal Black Friday PDP — site integration on top of design.css (scoped to #zbf). */

/* neutralize theme / Elementor kit button and heading styles inside the page */
#zbf button{padding:0;border-radius:0;text-transform:none;letter-spacing:normal;line-height:inherit;box-shadow:none;min-height:0;text-decoration:none;font-size:inherit;font-weight:inherit;font-family:inherit}
#zbf h1{color:var(--ink)}
#zbf [hidden]{display:none !important}

/* the site header stays and is sticky: the gallery and the cart bar sit below it (--bf-head is set by bf-pdp.js) */
#zbf .gallery-col{top:var(--bf-head,72px)}
#zbf #productSelection{scroll-margin-top:var(--bf-head,72px)}
#zbf .sticky-cart{top:var(--bf-head,0px);z-index:90;visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
#zbf .sticky-cart.show{visibility:visible;transition:transform .25s ease,visibility 0s}
@media (prefers-reduced-motion:reduce){#zbf .sticky-cart,#zbf .sticky-cart.show{transition:none}}

/* Add to Cart in-flight and error states */
#zbf .cta[aria-busy="true"]{cursor:progress;opacity:.85}
#zbf .atc-err{margin-top:10px;font-size:12.5px;line-height:1.45;color:var(--pink-dk);text-align:center;font-weight:600}
#zbf .atc-err .atc-retry{color:var(--pink);text-decoration:underline;font-weight:700;margin-left:4px}

/* page sits flush under the header */
body.page-template-zestal-bf-pdp .site-main,body.page-template-zestal-bf-pdp main{margin:0;padding:0;max-width:none}

/* MV referrer / store popups and the side cart use ProximaNova, which Elementor only loads on the
   product templates (custom font, post-2285.css). Load the same files here. */
@font-face{font-family:'ProximaNova';font-style:normal;font-weight:normal;font-display:swap;src:url('https://zestalnow.com/wp-content/uploads/2024/10/ProximaNova-Regular.woff2') format('woff2'),url('https://zestalnow.com/wp-content/uploads/2024/10/ProximaNova-Regular.woff') format('woff')}

/* SmartShip items already in the cart that count toward the Black Friday tier */
#zbf .ss-note{margin:8px 0 4px;padding:9px 12px;border-radius:10px;background:var(--pink-050);border:1px solid var(--pink-100);font-size:12.5px;line-height:1.4;color:#1d1a1c}
#zbf .ss-note b{color:var(--pink-dk);font-weight:700}
#zbf .ss-note span{display:block;color:#8e878b;font-size:11.5px;margin-top:2px}

/* sticky hero gallery: the theme sets body{overflow-x:hidden}, which makes body a scroll container and
   stops position:sticky on the gallery. clip keeps the horizontal clipping without that side effect. */
html:has(body.page-template-zestal-bf-pdp),body.page-template-zestal-bf-pdp{overflow-x:clip !important;overflow-y:visible !important}
body.page-template-zestal-bf-pdp .site-main,body.page-template-zestal-bf-pdp main,body.page-template-zestal-bf-pdp #page,body.page-template-zestal-bf-pdp .site{overflow:visible !important}
