/* PSHR Site — base styles. Page designs live in their own scoped HTML; this file only provides
   the reset the old theme gave, the page containers, and the small shared components. */

/* ── Minimal base (no Elementor or theme styles) ── */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:#374151;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
:focus-visible{outline:2px solid #B551F7;outline-offset:2px}

/* ── Skip link (keyboard accessibility) ── */
.pshr-skip{text-decoration:none;position:absolute;left:-9999px;top:8px;z-index:100000;background:#111827;color:#fff!important;padding:10px 16px;border-radius:8px;font-weight:600}
.pshr-skip:focus{left:8px}
.pshr-main:focus{outline:none}

/* ── Header / footer wrappers ──
   display:contents keeps the header's own position:sticky working. */
.pshr-hwrap,.pshr-fwrap{display:contents}

/* ── Page containers: HTML pages render full width exactly as their own CSS defines ── */
.pshr-page-header{max-width:760px;margin:0 auto;padding:48px 24px 0}
.pshr-page-header .entry-title{font-size:clamp(30px,4vw,42px);font-weight:800;line-height:1.15;margin:0 0 20px;color:#111827}
.pshr-c--prose{padding:0 24px;margin-bottom:96px}
.pshr-c--prose>.pshr-in{max-width:760px;margin:0 auto}
.pshr-c--woo{padding:48px 24px 96px}
.pshr-c--woo>.pshr-in{max-width:1140px;margin:0 auto}
.pshr-c--woo .entry-title{font-size:clamp(28px,3.5vw,38px);font-weight:800;color:#111827;margin:0 0 24px}

/* ── Text pages (policies) ── */
.pshr-prose{color:#374151;font-size:1rem;line-height:1.7}
.pshr-prose h2,.pshr-prose h3,.pshr-prose h4{color:#111827;font-weight:700;margin:1.6em 0 .5em}
.pshr-prose ul,.pshr-prose ol{padding-left:1.4em;margin:0 0 1rem}
.pshr-prose li{margin:.25em 0}
.pshr-prose a{color:#B551F7;text-decoration:underline;text-underline-offset:2px}
.entry-title{color:#111827}

/* ── WooCommerce pages ── */
.pshr-c--woo{font-family:'Montserrat',sans-serif}
.pshr-c--woo .wc-block-components-button:not(.is-link),.pshr-c--woo .woocommerce .button,.pshr-c--woo button.button{background:#B551F7;color:#fff;border-radius:50px;border:0}
.pshr-c--woo .wc-block-components-button:not(.is-link):hover{background:#9B3BE0}
@media (min-width:768px){.pshr-order-received .woocommerce-order{padding-left:40px;padding-right:40px}}

/* ── Ports of the former YellowPencil tweaks ── */
#panel-all .bc-img img{display:inline-block;min-height:263px}
@media (max-width:400px){#pshr-finder .pshr-header img{min-height:97px;padding-right:30px;width:52%!important}}
@media (min-width:481px){#pshr-finder .pshr-header img{padding-right:282px}}
@media (min-width:710px){#pshr-finder .pshr-header img{width:77%!important}}
@media (min-width:910px){#pshr-finder .pshr-header img{min-height:100px;width:70%!important}}

/* ── Enquiry form (contact page) ── */
.pshr-enq{display:flex;flex-direction:column;gap:14px;width:100%}
.pshr-enq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:600px){.pshr-enq-grid{grid-template-columns:1fr}}
.pshr-f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#111827;text-align:left}
.pshr-f b{color:#EC3E72;font-weight:700}
.pshr-f input,.pshr-f textarea{width:100%;border:1.5px solid #E4E8F0;border-radius:12px;padding:12px 14px;font-size:15px;font-weight:500;color:#111827;background:#fff;transition:border-color .15s,box-shadow .15s}
.pshr-f input:focus,.pshr-f textarea:focus{outline:none;border-color:#B551F7;box-shadow:0 0 0 3px rgba(181,81,247,.15)}
.pshr-f textarea{resize:vertical;min-height:120px}
.pshr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.pshr-enq-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pshr-enq-msg{font-size:14px;font-weight:600;color:#6B7280}
.pshr-enq-msg.is-ok{color:#1F9E8F}.pshr-enq-msg.is-err{color:#C81E4E}
.pshr-enq-btn{appearance:none;border:0;cursor:pointer;background:linear-gradient(135deg,#B551F7,#8E3CF0);color:#fff;font-weight:700;font-size:15px;padding:13px 26px;border-radius:50px;box-shadow:0 6px 18px rgba(181,81,247,.28)}
.pshr-enq-btn:disabled{opacity:.6;cursor:wait}

/* ── Floating cart (replaces XT Floating Cart) ── */
.pshr-cart-btn{position:fixed;right:20px;bottom:20px;z-index:9990;width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;background:#B551F7;color:#fff;box-shadow:0 8px 24px rgba(17,24,39,.22);display:flex;align-items:center;justify-content:center}
.pshr-cart-btn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pshr-cart-count{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;border-radius:11px;background:#EC3E72;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;border:2px solid #fff}
.pshr-cart-overlay{position:fixed;inset:0;background:rgba(17,24,39,.45);z-index:9991}
.pshr-cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(400px,100vw);background:#fff;z-index:9992;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(17,24,39,.18);font-family:'Montserrat',sans-serif}
.pshr-cart-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #E4E8F0}
.pshr-cart-head h2{font-size:18px;font-weight:700;margin:0;color:#111827}
.pshr-cart-close{border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#6B7280;padding:4px 8px}
.pshr-cart-items{flex:1;overflow:auto;padding:8px 20px}
.pshr-cart-item{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #F1F3F8}
.pshr-cart-item img{width:56px;height:56px;object-fit:cover;border-radius:10px;flex:none;background:#F8F9FC}
.pshr-cart-item .ci-name{font-size:14px;font-weight:600;color:#111827;line-height:1.3}
.pshr-cart-item .ci-meta{font-size:13px;color:#6B7280;margin-top:3px}
.pshr-cart-item .ci-rm{margin-left:auto;border:0;background:none;color:#9CA3AF;cursor:pointer;font-size:13px;text-decoration:underline}
.pshr-cart-empty{padding:30px 0;color:#6B7280;text-align:center}
.pshr-cart-foot{padding:16px 20px 22px;border-top:1px solid #E4E8F0;display:flex;flex-direction:column;gap:10px}
.pshr-cart-sub{display:flex;justify-content:space-between;font-size:15px;color:#111827}
.pshr-cart-checkout{text-decoration:none!important;display:block;text-align:center;background:#B551F7;color:#fff!important;font-weight:700;padding:14px;border-radius:50px}
.pshr-cart-view{text-decoration:none!important;display:block;text-align:center;color:#6B7280!important;font-weight:600;font-size:14px}

/* ── Cookie banner (replaces Cookie Notice) ── */
.pshr-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:9995;max-width:760px;margin:0 auto;background:#111827;color:#E5E7EB;border-radius:16px;padding:16px 18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;box-shadow:0 12px 40px rgba(0,0,0,.25);font-family:'Montserrat',sans-serif}
.pshr-consent-text{margin:0;font-size:13.5px;line-height:1.55;flex:1 1 320px}
.pshr-consent-text a{color:#5FDBD6;text-decoration:underline}
.pshr-consent-btns{display:flex;gap:8px}
.pshr-consent button{border:0;cursor:pointer;border-radius:50px;padding:10px 18px;font-weight:700;font-size:13.5px;font-family:inherit}
.pshr-consent-ok{background:#5FDBD6;color:#111827}
.pshr-consent-no{background:transparent;color:#E5E7EB;box-shadow:inset 0 0 0 1.5px #4B5563!important}

/* ── Checkout loading screen ── */
#pshr-preloader{position:fixed;inset:0;z-index:999999;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-family:'Montserrat',sans-serif;transition:opacity .4s ease}
#pshr-preloader.pshr-pl-hide{opacity:0;pointer-events:none}
#pshr-preloader .pshr-pl-logo{height:64px;width:auto;animation:pshrPulse 1.4s ease-in-out infinite}
#pshr-preloader .pshr-pl-bar{width:160px;height:4px;border-radius:50px;background:#E4E8F0;overflow:hidden;position:relative}
#pshr-preloader .pshr-pl-bar::after{content:'';position:absolute;top:0;left:-40%;height:100%;width:40%;border-radius:50px;background:linear-gradient(90deg,#B551F7,#5FDBD6);animation:pshrSlide 1.1s ease-in-out infinite}
#pshr-preloader .pshr-pl-text{font-size:13px;font-weight:500;color:#6B7280}
@keyframes pshrPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.94);opacity:.65}}
@keyframes pshrSlide{0%{left:-40%}100%{left:100%}}
@media (prefers-reduced-motion:reduce){#pshr-preloader .pshr-pl-logo,#pshr-preloader .pshr-pl-bar::after{animation:none}}

/* ── 404 ── */
.pshr-404{max-width:640px;margin:0 auto;padding:12vh 24px;text-align:center;font-family:'Montserrat',sans-serif}
.pshr-404 .code{font-size:72px;font-weight:800;line-height:1;background:linear-gradient(135deg,#B551F7,#5FDBD6);-webkit-background-clip:text;background-clip:text;color:transparent}
.pshr-404 h1{font-size:28px;font-weight:700;color:#111827;margin:14px 0 8px}
.pshr-404 p{color:#6B7280}
.pshr-404 .links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.pshr-404 .links a{text-decoration:none;padding:11px 20px;border-radius:50px;font-weight:600;border:1.5px solid #E4E8F0;color:#111827}
.pshr-404 .links a.primary{background:#B551F7;border-color:#B551F7;color:#fff}
.pshr-results{padding-left:1.2em}
