/* pdp-colourpop.css — product page "03 · Colour Pop" (phones only, ≤767 px).
   Every product carries its own palette as CSS variables on #bh-pop:
   --pt/--pm/--pb hero gradient · --pi ink · --pc brand chip · --ps soft tint · --pn tint.
   Desktop (≥768 px) never shows this block. Rollback: see inc/pdp-colourpop.php. */
#bh-pop{display:none}

@media (max-width:767px){
/* ---- page frame (this file loads only on product pages that show #bh-pop): run edge to edge, hide the old layout ---- */
body .min-h-screen>div:first-child{padding:0!important;max-width:none!important}
body .min-h-screen h2[data-bh-source-text]{display:none!important}
#bh-pop~.woocommerce div.product[id^="product-"]{display:none!important}
#bh-pop~.woocommerce .bhcj-ui--product{padding:0!important}
#bh-pop~.woocommerce .woocommerce-notices-wrapper:not(:empty){padding:12px 16px 0}
html body #bhMiniPdp,html body #bh-sig-bag{display:none!important}
html body #bh-wishlist-sync-status{bottom:calc(56px + env(safe-area-inset-bottom,0px) + 96px)!important}
html body #bh-wa#bh-wa:not(.bh-wa-dragging){bottom:calc(56px + env(safe-area-inset-bottom,0px) + 100px)!important}

#bh-pop{display:block;position:relative;background:#fff;color:#1B2925;font-family:var(--font-body,Karla,system-ui,sans-serif);
  -webkit-font-smoothing:antialiased;overflow-x:clip;line-height:1.35;--g:#16856F;--gd:#0F6656}
#bh-pop *,#bh-pop *::before,#bh-pop *::after{box-sizing:border-box}
#bh-pop [hidden]{display:none!important}
#bh-pop h1,#bh-pop h2,#bh-pop p,#bh-pop dl,#bh-pop dd,#bh-pop ul{margin:0;padding:0}
#bh-pop button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;min-height:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#bh-pop a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
#bh-pop svg{display:block;flex:none}
#bh-pop :focus-visible{outline:3px solid #1B2925;outline-offset:2px;border-radius:12px}

/* ---- hero ---- */
#bh-pop .pop-top{position:relative;overflow:hidden;padding:12px 0 52px;color:var(--pi);
  background:linear-gradient(165deg,var(--pt) 0%,var(--pm) 48%,var(--pb) 100%)}
#bh-pop .pop-dots{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.55) 1.4px,transparent 1.7px);background-size:18px 18px;
  -webkit-mask-image:radial-gradient(70% 50% at 50% 34%,#000,transparent);mask-image:radial-gradient(70% 50% at 50% 34%,#000,transparent);pointer-events:none}
#bh-pop .pop-sun{position:absolute;top:40px;left:50%;width:330px;height:330px;margin-left:-165px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.8),rgba(255,255,255,0));pointer-events:none}
#bh-pop .pop-ring{position:absolute;top:4px;left:50%;width:410px;height:410px;margin-left:-205px;border-radius:50%;border:2px solid rgba(255,255,255,.45);pointer-events:none}
#bh-pop .pop-bar{position:relative;z-index:4;display:flex;align-items:center;gap:8px;padding:0 14px}
#bh-pop .pop-sp{flex:1}
#bh-pop .pop-cb{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1B2925;
  box-shadow:0 6px 14px -6px rgba(0,0,0,.35)}
#bh-pop .pop-cb svg{width:20px;height:20px}
#bh-pop .pop-cb:active{transform:scale(.94)}
#bh-pop .pop-wish[aria-pressed="true"],#bh-pop .pop-wish.is-saved{color:#E23B2E}
#bh-pop .pop-wish[aria-pressed="true"] svg path{fill:currentColor}

#bh-pop .pop-photo{position:relative;z-index:2;display:block;width:calc(min(64vw,264px) * var(--cw,1));aspect-ratio:1 / var(--ca,1);margin:8px auto 0;border-radius:30px;
  background:#FAFAFA;overflow:hidden;transform:rotate(-5deg);box-shadow:0 26px 34px -18px rgba(0,0,0,.45),0 0 0 5px rgba(255,255,255,.9)}
#bh-pop .pop-photo img{position:absolute;left:0;top:0;display:block;width:100%;height:auto;max-width:none;transform-origin:0 0;
  transform:translate(var(--tx,0%),var(--ty,-10%)) scale(var(--z,1))}
#bh-pop .pop-photo .pop-shadow{display:none}
#bh-pop .pop-burst{position:absolute;z-index:3;top:66px;right:max(14px,calc(50% - 168px));width:86px;height:86px;animation:popspin 9s linear infinite}
#bh-pop .pop-burst svg{position:absolute;inset:0;width:100%;height:100%;fill:#E23B2E;filter:drop-shadow(0 8px 10px rgba(140,20,10,.35))}
#bh-pop .pop-burst>span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;
  font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1;animation:popspin 9s linear infinite reverse;text-transform:uppercase}
#bh-pop .pop-burst b{font-size:23px;letter-spacing:-.02em;margin-bottom:2px}
@keyframes popspin{from{transform:rotate(12deg)}to{transform:rotate(372deg)}}
#bh-pop .pop-meta{position:relative;z-index:2;padding:22px 18px 0}
#bh-pop .pop-brand{display:inline-block;background:var(--pc);color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.14em;padding:5px 9px;border-radius:7px;text-transform:uppercase}
#bh-pop .pop-h1{font-family:inherit;font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1.02;margin-top:10px;color:var(--pi)}
#bh-pop .pop-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
#bh-pop .pop-tags>span{background:rgba(255,255,255,.62);border-radius:99px;padding:6px 11px;font-size:12.5px;font-weight:800;color:var(--pi)}

/* ---- white sheet ---- */
#bh-pop .pop-sheet{position:relative;z-index:3;margin-top:-28px;background:#fff;border-radius:30px 30px 0 0;padding:24px 18px 4px}
#bh-pop .pop-pr{display:flex;align-items:center;gap:10px}
#bh-pop .pop-now{font-size:40px;font-weight:800;letter-spacing:-.04em;line-height:1;color:#1B2925}
#bh-pop .pop-mrp{display:flex;flex-direction:column;gap:2px}
#bh-pop .pop-mrp s{font-size:14px;color:#6E7A75;font-weight:700}
#bh-pop .pop-mrp small{font-size:11.5px;color:#5F6B66;font-weight:600}
#bh-pop .pop-offp{margin-left:auto;background:#FFE4E0;color:#B3261B;font-weight:800;font-size:14px;padding:8px 11px;border-radius:11px;white-space:nowrap}

#bh-pop .pop-clock{margin-top:18px;border-radius:20px;background:#171C1A;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:14px;position:relative;overflow:hidden}
#bh-pop .pop-clock::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,210,31,.28),transparent)}
#bh-pop .pop-ci{width:44px;height:44px;border-radius:14px;background:#FFD21F;color:#171C1A;display:grid;place-items:center;flex:none}
#bh-pop .pop-ci svg{width:22px;height:22px}
#bh-pop .pop-clock small{display:block;font-size:12.5px;font-weight:700;color:rgba(255,255,255,.78)}
#bh-pop .pop-clock b{display:block;font-size:25px;font-weight:800;letter-spacing:.01em;color:#FFD21F;font-variant-numeric:tabular-nums;line-height:1.15;margin-top:2px}
#bh-pop .pop-clock.is-off .pop-ci{background:#E4EEE9}
#bh-pop .pop-clock.is-off b{font-size:18px;letter-spacing:0;line-height:1.25}
#bh-pop .pop-clock>div{min-width:0;position:relative;z-index:1}

#bh-pop .pop-h3{font-size:18px;font-weight:800;letter-spacing:-.02em;margin:24px 0 12px;color:#1B2925}
#bh-pop .pop-why{display:flex;flex-wrap:wrap;gap:8px}
#bh-pop .pop-why>*{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;padding:9px 13px 9px 10px;border-radius:99px}
#bh-pop .pop-why svg{width:17px;height:17px}
#bh-pop .wy{background:#FFF3BF;color:#6B4E00}#bh-pop .wr{background:#FFE4E0;color:#A12317}
#bh-pop .wg{background:#E3F3EC;color:#0F6656}#bh-pop .wb{background:#E5EDFF;color:#1E4FB8}

#bh-pop .pop-combo{margin-top:24px;border-radius:24px;background:linear-gradient(135deg,var(--ps),var(--pn));padding:16px;color:var(--pi)}
#bh-pop .pop-ch b{display:block;font-size:18px;font-weight:800;letter-spacing:-.02em}
#bh-pop .pop-ch small{display:block;font-size:12.5px;font-weight:700;opacity:.78;margin-top:2px}
#bh-pop .pop-row{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:14px 0}
#bh-pop .pop-row i{font-style:normal;font-size:20px;font-weight:800;opacity:.6}
#bh-pop .pop-t{position:relative;width:84px;height:84px;border-radius:20px;background:#fff;display:grid;place-items:center;overflow:hidden;
  box-shadow:0 8px 16px -10px rgba(0,0,0,.4)}
#bh-pop .pop-t img{width:100%;height:100%;object-fit:cover;max-width:none}
#bh-pop .pop-t small{position:absolute;left:5px;bottom:5px;background:rgba(27,41,37,.88);color:#fff;font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:7px}
#bh-pop .pop-cbtn{width:100%;height:50px;border-radius:15px;background:#1B2925;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:15px;font-weight:800}
#bh-pop .pop-cbtn b{color:#FFD21F;font-size:17px}
#bh-pop .pop-cbtn[disabled]{opacity:.6}
#bh-pop .pop-cbtn.is-busy{opacity:.75}

#bh-pop .pop-trust{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}
#bh-pop .pop-trust li{display:flex;align-items:center;gap:8px;background:#F4F8F6;border-radius:14px;padding:10px;font-size:12.5px;font-weight:700;color:#33413C;line-height:1.25}
#bh-pop .pop-trust svg{width:20px;height:20px;color:var(--gd)}
#bh-pop .pop-trust a{text-decoration:underline;text-underline-offset:3px;color:#0F6656}

#bh-pop .pop-acc{border:1px solid #E6ECE9;border-radius:16px;background:#fff;margin-top:16px}
#bh-pop .pop-acc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;font-size:15px;font-weight:800;cursor:pointer;min-height:48px}
#bh-pop .pop-acc summary::-webkit-details-marker{display:none}
#bh-pop .pop-acc summary svg{width:18px;height:18px;transition:transform .25s}
#bh-pop .pop-acc[open] summary svg{transform:rotate(180deg)}
#bh-pop .pop-dl{padding:0 16px 8px}
#bh-pop .pop-dl div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid rgba(0,0,0,.06);font-size:13.5px}
#bh-pop .pop-dl dt{color:#5F6B66;font-weight:600}
#bh-pop .pop-dl dd{font-weight:700;text-align:right}
#bh-pop .pop-desc{padding:0 16px 14px;font-size:13.5px;line-height:1.55;color:#44514C}
#bh-pop .pop-desc p{margin:0 0 8px}

/* ---- related rail (each card in its own colour) ---- */
#bh-pop .pop-rsec{margin-top:26px}
#bh-pop .pop-rh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 18px 12px}
#bh-pop .pop-rh h2{font-size:18px;font-weight:800;letter-spacing:-.02em;color:#1B2925}
#bh-pop .pop-more{display:flex;align-items:center;gap:2px;font-size:13.5px;font-weight:800;color:#0F6656;white-space:nowrap;min-height:32px}
#bh-pop .pop-more svg{width:15px;height:15px}
#bh-pop .pop-rail{display:flex;gap:12px;overflow-x:auto;padding:0 18px 8px;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-padding:18px;-webkit-overflow-scrolling:touch}
#bh-pop .pop-rail::-webkit-scrollbar{display:none}
#bh-pop .pop-rc{flex:none;width:132px;scroll-snap-align:start}
#bh-pop .pop-ri{position:relative;height:136px;border-radius:18px;background:var(--ps)}
#bh-pop .pop-ri>a{position:absolute;inset:0;display:grid;place-items:center;border-radius:18px;overflow:hidden}
#bh-pop .pop-ri img{width:76%;height:76%;object-fit:cover;max-width:none;border-radius:14px;transform:translateY(-6px);box-shadow:0 8px 14px -10px rgba(0,0,0,.35)}
#bh-pop .pop-roff{position:absolute;z-index:1;top:0;left:0;background:#E23B2E;color:#fff;font-size:10px;font-weight:800;padding:3px 7px;border-radius:18px 0 10px 0;letter-spacing:.02em}
#bh-pop .pop-ctl{position:absolute;right:6px;bottom:-12px;z-index:2}
#bh-pop .pop-radd{height:34px;min-width:64px;padding:0 12px;border-radius:10px;background:#fff;border:1.5px solid var(--g);color:var(--g);font-weight:800;font-size:13px;letter-spacing:.04em;box-shadow:0 6px 14px -6px rgba(0,0,0,.3)}
#bh-pop .pop-rstep{display:flex;height:34px;border-radius:10px;background:var(--g);color:#fff;align-items:center;box-shadow:0 6px 14px -6px rgba(0,0,0,.35)}
#bh-pop .pop-rstep button{width:28px;height:34px;display:grid;place-items:center}
#bh-pop .pop-rstep button svg{width:12px;height:12px}
#bh-pop .pop-rstep span{min-width:16px;text-align:center;font-weight:800;font-size:14px}
#bh-pop .pop-rp{font-size:11.5px;color:#5F6B66;font-weight:700;margin-top:18px}
#bh-pop .pop-rn{display:-webkit-box;font-size:13px;font-weight:700;line-height:1.25;margin-top:2px;height:32px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#bh-pop .pop-rr{margin-top:4px;display:flex;align-items:baseline;gap:5px}
#bh-pop .pop-rr b{font-size:15px;font-weight:800}
#bh-pop .pop-rr s{font-size:12px;color:#6E7A75;font-weight:600}
#bh-pop .pop-end{height:150px}

/* ---- sticky buy bar (sits on top of the bottom tab bar) ---- */
#bh-pop .pop-buy{position:fixed;z-index:49;left:0;right:0;margin:0 auto;max-width:430px;bottom:calc(56px + env(safe-area-inset-bottom,0px));
  background:#fff;padding:10px 14px 12px;border-top:1px solid #EEF2F0;box-shadow:0 -12px 24px -18px rgba(0,0,0,.28)}
#bh-pop .pop-fd{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;margin-bottom:8px;white-space:nowrap;color:#0F6656}
#bh-pop .pop-trk{flex:1;display:block;height:5px;border-radius:99px;background:rgba(22,133,111,.16);overflow:hidden}
#bh-pop .pop-trk i{display:block;height:100%;width:0;border-radius:99px;background:var(--g);transition:width .5s cubic-bezier(.3,1,.4,1)}
#bh-pop .pop-brow{display:flex;gap:10px;align-items:center}
#bh-pop .pop-add{flex:1;height:54px;border-radius:18px;background:var(--g);color:#fff;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 14px 24px -14px rgba(15,102,86,.95),inset 0 1px 0 rgba(255,255,255,.18)}
#bh-pop .pop-add svg{width:20px;height:20px}
#bh-pop .pop-add .sep{width:1px;height:20px;background:rgba(255,255,255,.4);margin:0 4px}
#bh-pop .pop-add:active{background:var(--gd)}
#bh-pop .pop-add[disabled]{background:#9AA7A2;box-shadow:none}
#bh-pop .pop-add.is-busy{opacity:.8}
#bh-pop .pop-step{display:flex;align-items:center;justify-content:space-between;flex:none;height:54px;width:128px;border-radius:18px;background:var(--pn);color:var(--pi);padding:0 4px}
#bh-pop .pop-step button{width:40px;height:48px;display:grid;place-items:center}
#bh-pop .pop-step button svg{width:16px;height:16px}
#bh-pop .pop-step span{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums;text-align:center;min-width:22px}
#bh-pop .pop-vbag{flex:1;display:flex;align-items:center;gap:10px;min-width:0;height:54px;border-radius:18px;background:var(--g);color:#fff;padding:0 14px}
#bh-pop .pop-vbi svg{width:22px;height:22px}
#bh-pop .pop-vbt{flex:1;display:flex;flex-direction:column;line-height:1.15;min-width:0}
#bh-pop .pop-vbt b{font-size:15px;font-weight:800}
#bh-pop .pop-vbt small{font-size:11.5px;font-weight:700;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bh-pop .pop-vbag>svg{width:16px;height:16px}

/* ---- photo viewer + toast ---- */
#bh-pop .pop-zoom{position:fixed;inset:0;z-index:2147483000;background:#FAFAFA;display:grid;place-items:center;padding:56px 12px 24px}
#bh-pop .pop-zoom img{max-width:100%;max-height:100%;object-fit:contain}
#bh-pop .pop-zx{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;background:#1B2925;color:#fff}
#bh-pop .pop-toast{position:fixed;z-index:2147483001;left:50%;top:calc(14px + env(safe-area-inset-top,0px));transform:translate(-50%,-16px);opacity:0;background:#1B2925;color:#fff;
  font-size:13.5px;font-weight:800;padding:10px 16px 10px 12px;border-radius:99px;display:flex;gap:8px;align-items:center;white-space:nowrap;
  transition:opacity .25s,transform .3s cubic-bezier(.3,1.4,.5,1);pointer-events:none;box-shadow:0 12px 24px -10px rgba(0,0,0,.5)}
#bh-pop .pop-toast i{width:20px;height:20px;border-radius:50%;background:#3DDBA8;color:#05140F;display:grid;place-items:center}
#bh-pop .pop-toast i svg{width:12px;height:12px}
#bh-pop .pop-toast.show{opacity:1;transform:translate(-50%,0)}

@media (prefers-reduced-motion:reduce){
  #bh-pop .pop-burst,#bh-pop .pop-burst>span{animation:none}
  #bh-pop .pop-toast,#bh-pop .pop-trk i,#bh-pop .pop-acc summary svg{transition:none}
}
}
