/* Pot & Perch Reviews — bundled styles.
   CSS variables fall back to sensible defaults when the active theme doesn't define them. */
:root{
  --wrap:1320px; --line:#D9D3C2; --muted:#5B6259; --ink:#1F2420;
  --sand:#ECE7D9; --forest:#2F4A3A; --accent:#2F4A3A; --review:#00B67A;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --sans:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
.gh-reviews .pp-btn,.gh-review-form .pp-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.9em 1.5em;border-radius:6px;border:1.5px solid var(--forest);background:#fff;color:var(--ink);font-family:var(--sans);font-weight:600;font-size:15px;line-height:1;cursor:pointer;text-decoration:none;transition:background .2s,color .2s;}
.gh-reviews .pp-btn:hover{background:var(--forest);color:#fff;}
.gh-reviews .pp-btn--primary,.gh-review-form .pp-btn--primary{background:var(--forest);color:#fff;border-color:var(--forest);}
.gh-review-form .pp-btn--primary:hover{filter:brightness(1.1);}

/* ===== Pot & Perch reviews (ported from Elmbury; gh-* classes, pp tokens) ===== */
:root{--accent:var(--forest);}
/* Product reviews */
.gh-star{display:grid;place-items:center;width:var(--s,20px);height:var(--s,20px);background:#DCDCE6;}
.gh-star.on{background:var(--accent);}
.gh-star.half{background:linear-gradient(90deg,var(--accent) 50%,#DCDCE6 50%);}
.gh-star svg{width:72%;height:72%;fill:#fff;}
.gh-stars{display:inline-flex;gap:2px;}
.gh-rating-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;color:var(--ink)!important;text-decoration:none!important;font-size:14px;--s:18px;}
.gh-reviews{clear:both;width:100%;max-width:var(--wrap);margin:56px auto 0;padding:0;}
.gh-reviews h2{margin:0 0 22px;font-size:clamp(1.8rem,3.4vw,2.6rem);}
.gh-reviews__msg{margin:0 0 20px;padding:14px 18px;background:#EEF6F1;border-radius:12px;font-size:15px;}
.gh-reviews__summary{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:40px;padding:26px;border:1px solid var(--line);border-radius:20px;}
.gh-reviews__score{display:flex;flex-direction:column;gap:8px;--s:30px;}
.gh-reviews__score b{font:800 50px/1 var(--serif);}
.gh-reviews__label{font:700 19px var(--serif);}
.gh-reviews__score small{color:var(--muted);font-size:14px;}
.gh-reviews__bars{display:grid;gap:9px;align-content:center;}
.gh-bar{display:grid;grid-template-columns:58px minmax(0,1fr) 42px;gap:12px;align-items:center;width:100%;min-height:0;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:var(--ink)!important;font:14px var(--sans);text-align:left;cursor:pointer;}
.gh-bar[disabled]{cursor:default;opacity:.6;}
.gh-bar[aria-pressed=true]{font-weight:600;}
.gh-bar i{display:block;height:10px;overflow:hidden;border-radius:999px;background:var(--sand);}
.gh-bar i span{display:block;height:100%;background:var(--accent);}
.gh-bar em{color:var(--muted);font-style:normal;text-align:right;}
.gh-reviews__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 16px;}
.gh-reviews__bar h3{margin:0;font-size:20px;}
.gh-reviews__bar select{width:auto;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;}
.gh-reviews__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.gh-review[hidden]{display:none;}
.gh-review{display:flex;flex-direction:column;gap:9px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;}
.gh-review__who{display:flex;align-items:center;gap:12px;font-size:14.5px;}
.gh-review__avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--sand);font:700 14px var(--serif);}
.gh-review__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.gh-review__meta time{color:var(--muted);font-size:13px;}
.gh-review__verified{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;}
.gh-review__verified svg{width:15px;height:15px;fill:var(--accent);}
.gh-review h3{margin:0;font-size:17px;line-height:1.3;}
.gh-review__text p{margin:0 0 8px;color:#333;font-size:15px;line-height:1.55;}
.gh-review__text p:last-child{margin:0;}
.gh-review__reply{padding:12px 14px;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--sand);font-size:14px;}
.gh-review__reply p{margin:2px 0 0;}
.gh-reviews__more{display:block;margin:20px auto 0;}
.gh-reviews__more[hidden]{display:none;}
.gh-review-form{margin-top:28px;padding:26px;border:1px solid var(--line);border-radius:20px;}
.gh-review-form h3{margin:0 0 16px;font-size:20px;}
.gh-review-form p{margin:0 0 14px;}
.gh-review-form label{display:block;margin:0 0 6px;font-size:14.5px;font-weight:600;}
.gh-review-form input:not([type]),.gh-review-form input[type=text],.gh-review-form textarea{width:100%;padding:12px 14px;border:1.5px solid #CFCDC7;border-radius:12px;background:#fff;font-size:15px;}
.gh-review-form small{display:block;margin-top:10px;color:var(--muted);font-size:13px;}
.gh-rate{display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0 0 16px;padding:0;border:0;}
.gh-rate legend{width:100%;margin:0 0 6px;padding:0;font-size:14.5px;font-weight:600;}
.gh-rate input{position:absolute;opacity:0;}
.gh-rate label{display:grid;place-items:center;width:38px;height:38px;margin:0;background:#DCDCE6;cursor:pointer;}
.gh-rate svg{width:72%;height:72%;fill:#fff;}
.gh-rate input:checked ~ label,.gh-rate label:hover,.gh-rate label:hover ~ label{background:var(--accent);}
.gh-rate input:focus-visible + label{outline:2px solid var(--ink);outline-offset:2px;}
@media (max-width:760px){
  .gh-reviews{margin-top:40px;}
  .gh-reviews__summary{grid-template-columns:1fr;gap:22px;padding:20px;}
  .gh-reviews__list{grid-template-columns:1fr;}
  .gh-review-form{padding:20px;}
}
/* =====================================================================
   Reviews — store-wide, Trustpilot-style green (--review), homepage marquee
   ===================================================================== */
:root{--review:#00B67A;}
.gh-star.on{background:var(--review);}
.gh-star.half{background:linear-gradient(90deg,var(--review) 50%,#DCDCE6 50%);}
.gh-review__verified svg,.gh-revm__ok svg{fill:var(--review);}
.gh-review__reply{border-left-color:var(--review);}
.gh-rate input:checked ~ label,.gh-rate label:hover,.gh-rate label:hover ~ label{background:var(--review);}

/* Trust box under the product title */
.gh-trustbox{display:inline-flex;align-items:center;gap:10px;margin:2px 0 14px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink)!important;text-decoration:none!important;font-size:14px;line-height:1;--s:20px;width:max-content;max-width:100%;}
.gh-trustbox strong{font:800 15px/1 var(--serif);}
.gh-trustbox span{font-weight:700;}
a.gh-trustbox:hover{border-color:var(--review);}
.single-product .summary .gh-trustbox{order:3;}

/* Section heading */
.gh-reviews h2.gh-reviews__intro,.gh-rev-marquee h2.gh-reviews__intro{font:800 clamp(1.8rem,3.4vw,2.6rem)/1.1 var(--serif);letter-spacing:-.02em;margin:0;}
.gh-reviews__intro span{color:var(--review);}
.gh-reviews h2.gh-reviews__intro{margin-bottom:8px;}
.gh-reviews__bar{justify-content:flex-end;margin-top:0;}
.gh-review__product{font-size:13px;font-weight:600;color:var(--muted)!important;text-decoration:none!important;margin-top:auto;padding-top:6px;}
.gh-review__product:hover{color:var(--ink)!important;text-decoration:underline!important;}

/* Homepage marquee */
.gh-rev-marquee{padding:88px 0;overflow:hidden;}
.gh-rev-marquee__head{max-width:var(--wrap);margin:0 auto 32px;padding:0 36px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;}
.gh-rev-marquee__head .gh-trustbox{margin:0;}
.gh-rev-marquee__viewport{-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);}
.gh-rev-marquee__track{display:flex;width:max-content;animation:gh-marq var(--gh-marq,40s) linear infinite;}
.gh-rev-marquee__dup{display:flex;}
.gh-rev-marquee__viewport:hover .gh-rev-marquee__track{animation-play-state:paused;}
@keyframes gh-marq{to{transform:translateX(-50%);}}
.gh-revm{flex:0 0 320px;display:flex;flex-direction:column;gap:10px;margin-right:16px;padding:22px;border:1px solid var(--line);border-radius:var(--r-md,20px);background:#fff;--s:20px;}
.gh-revm h3{margin:0;font:700 16px/1.3 var(--serif);}
.gh-revm p{margin:0;color:#333;font-size:14.5px;line-height:1.55;}
.gh-revm footer{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13px;}
.gh-revm footer strong{font-size:14px;}
.gh-revm__ok{display:inline-flex;align-items:center;gap:4px;color:var(--muted);}
.gh-revm__ok svg{width:14px;height:14px;}
.gh-revm footer a{flex-basis:100%;color:var(--muted)!important;text-decoration:none!important;}
.gh-revm footer a:hover{color:var(--ink)!important;}
@media (max-width:900px){
  .gh-rev-marquee{padding:56px 0;}
  .gh-rev-marquee__head{padding:0 16px;}
  .gh-revm{flex-basis:270px;}
}
@media (prefers-reduced-motion:reduce){
  .gh-rev-marquee__track{animation:none;}
  .gh-rev-marquee__viewport{overflow-x:auto;}
  .gh-rev-marquee__dup{display:none;}
}
