/* Store reviews section (CK Social Section 1.1.0). Same width, card and arrow look as "Customers Also Viewed"
   (plugin ninja-single-product-page). Phone: <= 767.98px, like that block. Everything is scoped to .ckr / .ckr-dialog
   so the theme's button and blockquote styles do not leak in. */
.ckr-wrap{max-width:1320px;width:100%;margin:48px auto 0;padding:0 6px;box-sizing:border-box;clear:both}
.ckr{--ckr-green:#4e7f62;--ckr-line:#e7e8e3;--ckr-muted:#6b706d;margin:1.5rem 0 3rem;font-family:inherit;color:#222}
.ckr *,.ckr-dialog *{box-sizing:border-box}
.ckr__head{margin:0 0 1rem}
.ckr__eyebrow{margin:0 0 .3rem;font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ckr-green)}
.ckr__title{font-size:clamp(1.35rem,2.2vw,1.85rem);font-weight:600;color:#1a1a1a;margin:0;line-height:1.2;text-transform:none;letter-spacing:0}
.ckr__lead{margin:.4rem 0 0;font-size:15px;color:var(--ckr-muted)}

/* Five stars filled to the rating: one star shape repeated as a mask over a gold/grey split at --ckr-fill. */
.ckr-stars{display:inline-block;flex:none;vertical-align:-.12em;width:5.5em;height:1em;font-size:16px;
  background:linear-gradient(90deg,#fbbc04 var(--ckr-fill,100%),#dadce0 var(--ckr-fill,100%));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 0l3.09 6.26L20 7.27l-5 4.87 1.18 6.88L10 15.77l-6.18 3.25L5 12.14 0 7.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0/1.1em 1em repeat-x;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 0l3.09 6.26L20 7.27l-5 4.87 1.18 6.88L10 15.77l-6.18 3.25L5 12.14 0 7.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0/1.1em 1em repeat-x}
.ckr-logo{display:block;height:1em;width:auto}
.ckr-logo--google{aspect-ratio:272/92}
.ckr-logo--ebay{aspect-ratio:1000/400.75}

/* score tiles: open the window of that source */
.ckr__scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.ckr .ckr-score{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--ckr-line);border-radius:12px;padding:14px 18px;color:#222;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.ckr .ckr-score:hover{border-color:#b9c4bd;box-shadow:0 2px 10px rgba(0,0,0,.08);color:#222}
.ckr .ckr-score:focus-visible{outline:2px solid #2e7d32;outline-offset:2px}
.ckr-score__src{flex:none;width:78px;display:flex;justify-content:center}
.ckr-score__src .ckr-logo{height:26px}
.ckr-score__body{flex:1;min-width:0}
.ckr-score__body b{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:600;line-height:1.25}
.ckr-score__body .ckr-stars{font-size:16px}
.ckr-score__body small{display:block;font-size:13px;color:var(--ckr-muted);line-height:1.35}
/* "Read reviews" and "Read more": a quiet dark text link with a thin underline and a small chevron; on hover the
   underline goes and the color stays (the same as "Based on" in the window). */
.ckr-score__go{flex:none;display:inline-flex;align-items:center;gap:7px;color:#1a1a1a;font-size:13.5px;font-weight:600;line-height:1.3;letter-spacing:.01em;white-space:nowrap;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.ckr-score__go::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
.ckr .ckr-score:hover .ckr-score__go{text-decoration:none}

/* slider: native horizontal scroll with snap; arrows like "Customers Also Viewed" */
.ckr__slider{position:relative}
.ckr__track{display:flex;gap:12px;margin:0;padding:0 0 6px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none}
.ckr__track::-webkit-scrollbar{display:none}
.ckr__track:focus-visible{outline:2px solid #2e7d32;outline-offset:2px}
.ckr__slide{flex:0 0 calc((100% - 36px) / 4);min-width:250px;margin:0;scroll-snap-align:start;display:flex}
.ckr .ckr__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:none;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 2px 10px rgba(0,0,0,.18);cursor:pointer;z-index:2;color:#222;display:grid;place-items:center;padding:0;margin:0;transition:background .15s}
.ckr .ckr__nav[hidden]{display:none}
.ckr .ckr__nav:hover{background:#e9e9e9}
.ckr .ckr__nav:focus-visible{outline:2px solid #111;outline-offset:2px}
.ckr__nav svg{width:16px;height:16px;fill:currentColor}
.ckr__nav--prev{left:-20px}
.ckr__nav--next{right:-20px}
.ckr__nav--next svg{transform:rotate(180deg)}

/* one review: rating, then name and date, then the text (slider card and window row) */
.ckr-review{margin:0;width:100%;background:#fff;border:1px solid #e7e8e3;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px;color:#222}
.ckr-review__rate{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;line-height:1.3}
.ckr-review__rate .ckr-stars{font-size:15px}
.ckr-review__num{font-weight:500;color:#70757a;min-width:.7em}
.ckr-pos{display:inline-flex;align-items:center;gap:5px;font-size:13.5px;font-weight:600;color:#2e7d32}
.ckr-pos svg{width:15px;height:15px;fill:#2e7d32}
.ckr-review__verified{font-size:12.5px;color:#818181}
.ckr-review__by{margin:0;font-size:13.5px;line-height:1.4;color:#818181;display:flex;flex-wrap:wrap;gap:0 8px}
.ckr-review__by b{color:#222;font-weight:600}
.ckr-review__text{margin:2px 0 0;font-size:14.5px;line-height:1.55;color:#222;overflow:hidden}
.ckr-review__text p{margin:0 0 .6em;font-size:inherit;line-height:inherit}
.ckr-review__text p:last-child{margin-bottom:0}
.ckr-review__plant{margin:2px 0 0;font-size:12px;color:#818181}
/* Read more: in a window the chevron points down and turns up once the text is open; in the slider it points right
   (the button opens the window at that review). */
.ckr .ckr-review__more,.ckr-dialog .ckr-review__more{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;margin:2px 0 0;padding:4px 0;min-height:28px;border:0;border-radius:0;background:none;color:#1a1a1a;font:inherit;font-size:13.5px;font-weight:600;line-height:1.3;letter-spacing:.01em;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;cursor:pointer;box-shadow:none}
.ckr .ckr-review__more::after,.ckr-dialog .ckr-review__more::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.ckr .ckr-review__more::after{transform:rotate(-45deg)}
.ckr-dialog .ckr-review__more[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.ckr .ckr-review__more:hover,.ckr-dialog .ckr-review__more:hover{background:none;color:#1a1a1a;text-decoration:none}
.ckr .ckr-review__more:focus-visible,.ckr-dialog .ckr-review__more:focus-visible{outline:2px solid #1a1a1a;outline-offset:3px}
.ckr-review__more[hidden]{display:none !important}
/* Cut by whole lines (6 in the slider, 2 in a window) with an ellipsis. While cut, the paragraphs run on in one
   block, so a paragraph gap can never leave half a line showing; opened, they are paragraphs again. */
.ckr .ckr-review__text,.ckr-dialog .ckr-review__text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6}
.ckr-dialog .ckr-review__text{-webkit-line-clamp:2;line-clamp:2}
.ckr .ckr-review__text p,.ckr-dialog .ckr-review__text p{display:inline;margin:0}
.ckr .ckr-review__text p+p::before,.ckr-dialog .ckr-review__text p+p::before{content:" "}
.ckr-dialog .ckr-review.is-open .ckr-review__text{display:block;-webkit-line-clamp:unset;line-clamp:none}
.ckr-dialog .ckr-review.is-open .ckr-review__text p{display:block;margin:0 0 .6em}
.ckr-dialog .ckr-review.is-open .ckr-review__text p:last-child{margin-bottom:0}
.ckr-dialog .ckr-review.is-open .ckr-review__text p+p::before{content:none}

/* window with one source's reviews */
.ckr-dialog{width:min(520px,calc(100vw - 24px));height:fit-content;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:16px;background:#fff;color:#222;box-shadow:0 12px 48px rgba(0,0,0,.3);overflow:hidden;flex-direction:column}
.ckr-dialog[open]{display:flex}
.ckr-dialog::backdrop{background:rgba(17,17,17,.55)}
.ckr-dialog__bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 8px 4px 20px;border-bottom:1px solid #eee}
.ckr-dialog__title{margin:0;font-size:16px;font-weight:600;line-height:1.3;text-transform:none;letter-spacing:0;color:#1a1a1a}
.ckr-dialog .ckr-dialog__close{flex:none;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#222;font-size:28px;line-height:1;cursor:pointer;box-shadow:none}
.ckr-dialog .ckr-dialog__close:hover{background:#f0f0ee;color:#222}
.ckr-dialog .ckr-dialog__close:focus-visible{outline:2px solid #111;outline-offset:2px}
/* The summary (Excellent, score, Based on) stays put; only the list of reviews scrolls. */
.ckr-dialog__body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;padding-bottom:16px}
.ckr-sum{flex:none;padding:8px 20px 10px;text-align:center;background:#fff;border-bottom:1px solid #d9dcd8;position:relative;z-index:1;transition:box-shadow .2s}
/* The shadow under the summary only once the reviews have scrolled under it. */
.ckr-dialog.is-scrolled .ckr-sum{box-shadow:0 4px 8px -6px rgba(0,0,0,.18)}
.ckr-sum p{margin:0}
.ckr-sum__word{font-size:18px;font-weight:700;line-height:1.2;color:#1a1a1a}
.ckr-sum__score{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:2px !important}
.ckr-sum__num{font-size:36px;font-weight:600;line-height:1;color:#1a1a1a}
.ckr-sum__unit{font-size:16px;color:#6b706d;align-self:center;text-align:left;line-height:1.15}
.ckr-sum__unit small{display:block;font-size:12px;color:#818181}
.ckr-stars--big{font-size:28px}
/* "Based on 230+ reviews on Google": a plain system face, a thin straight underline under the count that only
   disappears on hover (the color stays). */
.ckr-sum__based{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:4px !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14.5px;color:#222;line-height:1.3;letter-spacing:0}
.ckr-dialog .ckr-sum__based a{font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1a1a1a;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;text-decoration-skip-ink:auto}
.ckr-dialog .ckr-sum__based a:hover,.ckr-dialog .ckr-sum__based a:focus-visible{color:#222;text-decoration:none}
.ckr-sum__based .ckr-logo{height:20px;position:relative;top:1px}
.ckr-sum__based .ckr-logo--ebay{height:22px}
/* Room for about two reviews at a time; a line between reviews. */
.ckr-dialog__list{flex:0 1 auto;min-height:0;height:430px;list-style:none;margin:0;padding:0 20px;overflow-y:auto;overscroll-behavior:contain;position:relative}
.ckr-dialog__list li{margin:0;border-bottom:1px solid #e3e5e1}
.ckr-dialog__list li:last-child{border-bottom:0}
.ckr-dialog .ckr-review{border:0;border-radius:0;padding:14px 0 12px;background:none}
.ckr-dialog .ckr-review.is-target{box-shadow:inset 3px 0 0 #4e7f62;padding-left:12px}
/* page under an open window: no scrolling, and no jump (the scrollbar's width is put back as padding by the script) */
html.ckr-lock{overflow:hidden}

/* The section sizes itself by its own width (a theme layout with a sidebar gives it less room than the screen). */
.ckr{container:ckr / inline-size}
@container ckr (max-width:1000px){
  .ckr__slide{flex-basis:calc((100% - 24px) / 3)}
}
@container ckr (max-width:820px){
  .ckr .ckr-score{padding:12px 14px;gap:12px}
  .ckr-score__src{width:64px}
  .ckr-score__src .ckr-logo{height:22px}
  .ckr-score__body b{font-size:18px}
}
@container ckr (max-width:680px){
  .ckr__slide{flex-basis:calc((100% - 12px) / 2.15)}
}
@container ckr (max-width:520px){
  .ckr__scores{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ckr .ckr-score{flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:16px 10px 14px;text-align:center}
  .ckr-score__src{width:auto;height:30px;align-items:center}
  .ckr-score__src .ckr-logo{height:24px}
  .ckr-score__src .ckr-logo--ebay{height:27px}
  .ckr-score__body{flex:none;width:100%}
  .ckr-score__body b{justify-content:center;flex-wrap:wrap;gap:4px 6px;font-size:20px}
  .ckr-score__body b .ckr-stars{font-size:13px}
  .ckr-score__body small{margin-top:2px}
  .ckr-score__go{margin-top:auto;padding-top:2px}
  .ckr__slide{flex-basis:82%;min-width:0}
}
@media (max-width:767.98px){
  .ckr-wrap{padding:0;margin-top:46px}
  .ckr{margin:0 0 32px}
  .ckr .ckr__nav{display:none}
  .ckr-dialog{width:100vw;max-width:100vw;height:fit-content;max-height:92vh;max-height:92dvh;margin:auto 0 0;border-radius:16px 16px 0 0}
  .ckr-dialog__list{height:515px;padding:0 16px}
  .ckr-sum{padding:6px 16px 9px}
  .ckr-sum__num{font-size:32px}
  .ckr-stars--big{font-size:25px}
}
/* Browsers without container queries (Safari before 16, Chrome before 105): the same layouts by screen width. */
@supports not (container-type:inline-size){
  @media (max-width:1100px){.ckr__slide{flex-basis:calc((100% - 24px) / 3)}}
  @media (max-width:900px){.ckr .ckr-score{padding:12px 14px;gap:12px}.ckr-score__src{width:64px}.ckr-score__src .ckr-logo{height:22px}.ckr-score__body b{font-size:18px}}
  @media (max-width:767.98px){.ckr__scores{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ckr .ckr-score{flex-direction:column;align-items:center;gap:8px;padding:16px 10px 14px;text-align:center}.ckr-score__src{width:auto;height:30px;align-items:center}.ckr-score__src .ckr-logo{height:24px}.ckr-score__src .ckr-logo--ebay{height:27px}.ckr-score__body{flex:none;width:100%}.ckr-score__body b{justify-content:center;flex-wrap:wrap;gap:4px 6px;font-size:20px}.ckr-score__body b .ckr-stars{font-size:13px}.ckr-score__go{margin-top:auto}.ckr__slide{flex-basis:82%;min-width:0}}
}
/* Short screens (a phone held sideways): a lower window header so the reviews keep their room. */
@media (max-height:520px){
  .ckr-dialog__bar{padding-top:0;padding-bottom:0}
  .ckr-sum{padding:4px 16px 6px}
  .ckr-sum__word{font-size:15px}
  .ckr-sum__num{font-size:26px}
  .ckr-stars--big{font-size:21px}
  .ckr-sum__based{margin-top:2px !important;font-size:13.5px}
}

/* Source colors for the links: Google blue, eBay red (darker than eBay's own red: 7 to 1 on white, easy to read for everyone). */
.ckr-score--google .ckr-score__go,.ckr .ckr-review--google .ckr-review__more,.ckr-dialog .ckr-review--google .ckr-review__more,.ckr .ckr-review--google .ckr-review__more:hover,.ckr-dialog .ckr-review--google .ckr-review__more:hover{color:#1a73e8}
.ckr-score--ebay .ckr-score__go,.ckr .ckr-review--ebay .ckr-review__more,.ckr-dialog .ckr-review--ebay .ckr-review__more,.ckr .ckr-review--ebay .ckr-review__more:hover,.ckr-dialog .ckr-review--ebay .ckr-review__more:hover{color:#b0141c}
.ckr-nowrap{display:inline-block;white-space:nowrap}

/* Opening and closing. Desktop: the window fades in and rises a little; phone: the sheet slides up from the bottom.
   The dark bar on top of the phone sheet says it can be swiped down (the script closes it on a downward swipe). */
.ckr-dialog__grab{display:none;width:40px;height:4px;margin:8px auto 0;border-radius:2px;background:#1a1a1a;opacity:.85;flex:none}
.ckr-dialog[open]{animation:ckr-pop-in .2s cubic-bezier(.2,.8,.2,1)}
.ckr-dialog.is-closing{animation:ckr-pop-out .16s ease-in forwards}
.ckr-dialog[open]::backdrop{animation:ckr-fade-in .2s ease-out}
.ckr-dialog.is-closing::backdrop{animation:ckr-fade-out .16s ease-in forwards}
.ckr-dialog.is-dragging{animation:none;transition:none}
@keyframes ckr-pop-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes ckr-pop-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(8px) scale(.98)}}
@keyframes ckr-sheet-in{from{transform:translateY(100%)}to{transform:none}}
@keyframes ckr-sheet-out{from{transform:translateY(var(--ckr-drag,0px))}to{transform:translateY(100%)}}
@keyframes ckr-fade-in{from{opacity:0}to{opacity:1}}
@keyframes ckr-fade-out{from{opacity:1}to{opacity:0}}
@media (max-width:767.98px){
  .ckr-dialog__grab{display:block}
  .ckr-dialog__bar{padding-top:0}
  .ckr-dialog[open]{animation:ckr-sheet-in .28s cubic-bezier(.2,.8,.2,1)}
  .ckr-dialog.is-closing{animation:ckr-sheet-out .22s ease-in forwards}
}
@media (prefers-reduced-motion:reduce){.ckr__track{scroll-behavior:auto}.ckr-dialog[open],.ckr-dialog.is-closing,.ckr-dialog[open]::backdrop,.ckr-dialog.is-closing::backdrop{animation:none !important}}
.ckr-score__unit{font-size:.7em;font-weight:500;color:#6b706d}
.ckr-dialog__list li.ckr-dialog__note{padding:12px 0 2px;border-bottom:0;font-size:12.5px;line-height:1.4;color:#818181}
