/* Review media, product page reviews and the order review form */
.ws-rm { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
html body .ws-rm__i { position: relative; width: 88px; height: 88px; padding: 0 !important; border: 0 !important; border-radius: 14px !important; overflow: hidden; background: #eceef3 !important; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
html body .ws-rm__i:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.ws-rm__i img, .ws-rm__i video { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.ws-rm__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .28); }
.ws-rm__play::before { content: ''; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
/* product page */
.ws-rvp__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 18px; }
.ws-rvp__avg { font-family: 'Fraunces', Georgia, serif; font-size: 2.6rem; font-weight: 300; line-height: 1; color: #111111; }
.ws-rvp__n { color: #555555; }
.ws-rvp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-rvp__grid .ws-rv__card[hidden] { display: none; }
.ws-rvp__loc { display: block; margin: -4px 0 6px; color: #6b7280; font-size: .86rem; }
html body .ws-rvp__morebtn { height: 48px; padding: 0 28px; border: 1px solid #111111 !important; border-radius: 999px !important; background: #fff !important; color: #111111 !important; font-weight: 700; cursor: pointer; }
.ws-rvp__more { margin: 18px 0 0; text-align: center; }
@media (max-width: 767px) { .ws-rvp__grid { grid-template-columns: minmax(0, 1fr); } }
/* order review form */
.ws-orv { margin: 32px 0 0; }
.ws-orv h2 { font-size: 1.4rem; margin: 0 0 14px; }
.ws-orv__item { margin: 0 0 16px; padding: 20px; border: 1px solid #e7e8ee; border-radius: 18px; background: #fbfbfd; }
.ws-orv__item h3 { margin: 0 0 12px; font-size: 1.05rem; color: #111111; }
.ws-orv__done { margin: 0; color: #116329; font-weight: 600; }
.ws-orv__note { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.ws-orv__note.is-ok { background: #dcf5e1; color: #116329; }
.ws-orv__note.is-err { background: #fbeaea; color: #b32d2e; }
.ws-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; margin: 0 0 12px; }
.ws-rate input { position: absolute; opacity: 0; pointer-events: none; }
.ws-rate label { font-size: 34px; line-height: 1; color: #d0d3da; cursor: pointer; transition: color .15s, transform .15s; }
.ws-rate label:hover, .ws-rate label:hover ~ label, .ws-rate input:checked ~ label { color: #111111; }
.ws-rate label:hover { transform: scale(1.12); }
.ws-rate input:focus-visible + label { outline: 2px solid #111111; border-radius: 4px; }
.ws-orv__f { display: grid; gap: 6px; margin: 0 0 14px; font-weight: 600; color: #111111; }
.ws-orv__f input[type=text], .ws-orv__f textarea { width: 100%; padding: 12px 14px; border: 1px solid #d6d8e0; border-radius: 12px; background: #fff; font: inherit; font-weight: 400; }
html body .ws-orv__btn { height: 50px; padding: 0 28px; border: 0 !important; border-radius: 999px !important; background: #111111 !important; color: #fff !important; font-weight: 700; cursor: pointer; }

/* ===== top-corner highlight: "See all customer media" ===== */
.ws-rvp__sum .ws-cm__open { margin-left: auto; }
html body .ws-cm__open { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid #e4e4e4 !important; border-radius: 999px !important; background: #fff !important; color: #111 !important; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
html body .ws-cm__open:hover, html body .ws-cm__open:focus-visible { border-color: #111 !important; background: #fff !important; color: #111 !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
html body .ws-cm__open:active { transform: scale(.98); background: #fff !important; }
.ws-cm__stack { display: inline-flex; }
.ws-cm__stack img, .ws-cm__ph { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; border: 2px solid #fff; background: #e9ebf0; margin-left: -10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.ws-cm__stack > :first-child { margin-left: 0; }
.ws-cm__label b { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #f1f1f1; font-size: .78rem; }
@media (max-width: 600px) { .ws-rvp__sum .ws-cm__open { margin-left: 0; width: 100%; justify-content: flex-start; } .ws-cm__open svg { margin-left: auto; } }

/* ===== overlays: shared ===== */
html.ws-lock, html.ws-lock body { overflow: hidden !important; }
html.ws-lock { scrollbar-gutter: stable; }
.ws-vw, .ws-cm { position: fixed; inset: 0; z-index: 99999; opacity: 0; transition: opacity .28s ease; }
.ws-vw.is-in, .ws-cm.is-in { opacity: 1; }
.ws-vw.is-out, .ws-cm.is-out { opacity: 0; pointer-events: none; }
html body .ws-vw button, html body .ws-cm button { -webkit-tap-highlight-color: transparent; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .ws-vw, .ws-cm, .ws-vw *, .ws-cm * { transition-duration: .01ms !important; } }

/* ===== viewer ===== */
.ws-vw { background: rgba(8, 11, 22, .94); }
.ws-vw__wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; width: 100%; max-width: 1320px; height: 100%; margin: 0 auto; padding: 24px; box-sizing: border-box; transform: translateY(16px) scale(.985); transition: transform .32s cubic-bezier(.22, .8, .3, 1); }
.ws-vw.is-in .ws-vw__wrap { transform: none; }
.ws-vw.is-out .ws-vw__wrap { transform: translateY(10px) scale(.985); }
.ws-vw__stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 22px; background: #05070d; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.ws-vw__track { display: flex; height: 100%; transition: transform .38s cubic-bezier(.22, .8, .3, 1); will-change: transform; }
.ws-vw__slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; justify-content: center; }
.ws-vw__slide img, .ws-vw__slide video { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; background: transparent; -webkit-user-drag: none; }
html body .ws-vw__nav, html body .ws-vw__x { position: absolute; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .16) !important; color: #fff !important; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s, opacity .2s; }
html body .ws-vw__nav:hover:not(:disabled), html body .ws-vw__x:hover { background: rgba(255, 255, 255, .3) !important; color: #fff !important; }
html body .ws-vw__nav:active:not(:disabled), html body .ws-vw__x:active { transform: scale(.94); background: rgba(255, 255, 255, .3) !important; }
html body .ws-vw__nav:disabled { opacity: .3; cursor: default; }
.ws-vw__nav { top: 50%; margin-top: -23px; }
.ws-vw__prev { left: 14px; }
.ws-vw__next { right: 14px; }
.ws-vw__x { top: 14px; right: 14px; }
.ws-vw__count { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.ws-vw__info { align-self: start; max-height: 100%; min-height: 0; overflow: auto; padding: 28px 26px; border-radius: 22px; background: #fff; color: #111; }
.ws-vw__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ws-vw__who strong { font-size: 1.2rem; }
.ws-vw__loc { color: #6b6b6b; font-size: .95rem; }
.ws-vw__meta { display: flex; align-items: center; gap: 12px; margin: 10px 0 16px; }
.ws-vw__meta .ws-stars { --s: 18px; }
.ws-vw__date { color: #6b6b6b; font-size: .85rem; }
.ws-vw__text { margin: 0; font-size: 1.02rem; line-height: 1.7; color: #222; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .ws-vw__wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; height: 100%; height: 100dvh; }
  .ws-vw__stage { border-radius: 0; }
  .ws-vw__info { max-height: 36vh; max-height: 36dvh; padding: 20px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; margin-top: -22px; position: relative; z-index: 4; }
  .ws-vw__stage { padding-bottom: 22px; }
  html body .ws-vw__x { top: calc(12px + env(safe-area-inset-top)); }
}
@media (max-width: 860px) { html body .ws-vw__nav { width: 38px; height: 38px; margin-top: -19px; } .ws-vw__prev { left: 8px; } .ws-vw__next { right: 8px; } .ws-vw__count { bottom: 36px; } }

/* ===== customer media panel ===== */
.ws-cm { display: grid; place-items: center; padding: 24px; background: rgba(8, 11, 22, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ws-cm__panel { display: flex; flex-direction: column; width: min(1100px, 100%); max-height: 100%; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: translateY(22px) scale(.985); transition: transform .32s cubic-bezier(.22, .8, .3, 1); }
.ws-cm.is-in .ws-cm__panel { transform: none; }
.ws-cm.is-out .ws-cm__panel { transform: translateY(12px) scale(.985); }
.ws-cm__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid #efefef; }
.ws-cm__title { margin: 0; font-size: 1.45rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: #111; }
.ws-cm__title span { display: block; margin-top: 4px; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: #6b6b6b; }
html body .ws-cm__x { flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #f2f2f2 !important; color: #111 !important; cursor: pointer; transition: background .2s, transform .2s; }
html body .ws-cm__x:hover { background: #e6e6e6 !important; color: #111 !important; }
html body .ws-cm__x:active { transform: scale(.94); background: #e6e6e6 !important; }
.ws-cm__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 18px; padding: 22px 24px 28px; overflow: auto; overscroll-behavior: contain; }
html body .ws-cm__card { white-space: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 0 !important; border: 0 !important; background: transparent !important; color: #111 !important; text-align: left; cursor: pointer; }
html body .ws-cm__card:hover, html body .ws-cm__card:focus-visible, html body .ws-cm__card:active { background: transparent !important; color: #111 !important; }
.ws-cm__tile { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: #eceef3; margin-bottom: 4px; }
.ws-cm__tile img, .ws-cm__tile video { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .45s cubic-bezier(.22, .8, .3, 1); }
.ws-cm__card:hover .ws-cm__tile img, .ws-cm__card:hover .ws-cm__tile video { transform: scale(1.05); }
.ws-cm__more { position: absolute; right: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .68); color: #fff; font-size: .78rem; font-weight: 700; }
.ws-cm__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; max-width: 100%; font-size: .98rem; line-height: 1.3; }
.ws-cm__who strong { font-weight: 700; overflow-wrap: anywhere; }
.ws-cm__who em { font-style: normal; font-size: .86rem; color: #6b6b6b; overflow-wrap: anywhere; }
.ws-cm__card .ws-stars { --s: 15px; }
.ws-cm__line { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; color: #555; }
@media (max-width: 600px) {
  .ws-cm { padding: 0; }
  .ws-cm__panel { width: 100%; height: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .ws-cm__head { padding: calc(16px + env(safe-area-inset-top)) 18px 14px; }
  .ws-cm__title { font-size: 1.25rem; }
  .ws-cm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
}
.ws-cm__stack { flex: none; }
.ws-cm__stack img, .ws-cm__ph { flex: none; }

@media (max-width: 860px) and (max-height: 480px) and (orientation: landscape) { .ws-vw__info { max-height: 45vh; max-height: 45dvh; } }

/* ===== reviews on a phone: two side by side, compact ===== */
@media (max-width: 767px) {
  .ws-rvp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .ws-rvp .ws-rv__card { padding: 12px; gap: 8px; border-radius: 14px; }
  .ws-rvp .ws-rv__head { flex-wrap: wrap; gap: 8px; }
  .ws-rvp .ws-rv__avatar { width: 32px; height: 32px; font-size: .78rem; }
  .ws-rvp .ws-rv__who { flex: 1 1 calc(100% - 44px); }
  .ws-rvp .ws-rv__who strong, .ws-rvp .ws-rv__name { font-size: .88rem; }
  .ws-rvp .ws-rv__date { flex: 1 1 100%; font-size: .74rem; }
  .ws-rvp .ws-rvp__loc { margin: 0; font-size: .76rem; }
  .ws-rvp .ws-rv__text { font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
  .ws-rvp.is-open .ws-rv__text { -webkit-line-clamp: unset; display: block; }
  .ws-rvp .ws-rm { gap: 6px; margin-top: 4px; }
  html body .ws-rvp .ws-rm__i { width: 52px; height: 52px; border-radius: 10px !important; }
  .ws-rvp .ws-stars { --s: 14px; }
  .ws-rvp__sum { gap: 8px 12px; }
  .ws-rvp__avg { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  html body .ws-cm__open { padding: 5px 12px 5px 5px; gap: 8px; }
  .ws-cm__label { flex: 1; min-width: 0; font-size: .86rem; text-align: left; }
  .ws-cm__open svg { display: none; }
  .ws-cm__stack img, .ws-cm__ph { width: 32px; height: 32px; margin-left: -9px; }
}

/* Every review card is the same size: the text shows 4 lines, longer reviews get "See more" */
html body .ws-rv__card .ws-rv__text { flex: 0 0 auto; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; min-height: calc(4 * 1.65em); }
html body .ws-rv__card.is-open .ws-rv__text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; min-height: 0; }
html body .ws-rvp.is-open .ws-rv__card:not(.is-open) .ws-rv__text { display: -webkit-box; -webkit-line-clamp: 4; overflow: hidden; }
html body .ws-rv__card .ws-rv__more { align-self: flex-start; margin: -4px 0 0; padding: 0 !important; border: 0 !important; background: transparent !important; color: #111 !important; font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .ws-rv__card .ws-rv__more:focus-visible { outline: 2px solid var(--ws-sel, #5791c0); outline-offset: 3px; }
.ws-rv__grid, .ws-rvp__grid, .ws-hrev__grid { align-items: stretch; }
/* no percentage min-height: Safari keeps the old tall row after "See less" (the percentage is measured against the row that is itself growing) */
.ws-rv__card, .ws-hrev__card { min-height: 0; height: auto; align-self: stretch; }
.ws-rv__grid, .ws-rvp__grid, .ws-hrev__grid { grid-auto-rows: auto; }
@media (max-width: 767px) { html body .ws-rv__card .ws-rv__text { min-height: calc(4 * 1.5em); } }
/* controls must stay visible on bright pictures and white-background videos */
html body .ws-vw__nav, html body .ws-vw__x { background: rgba(0, 0, 0, .5) !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset; }
html body .ws-vw__nav:hover:not(:disabled), html body .ws-vw__x:hover, html body .ws-vw__nav:active:not(:disabled), html body .ws-vw__x:active { background: rgba(0, 0, 0, .72) !important; }

/* ===== review media: ONE small thumbnail under the date ===== */
.ws-rv__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
html body .ws-rm__thumb { width: 46px; height: 46px; border-radius: 10px !important; }
html body .ws-rm__thumb:hover { transform: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.ws-rm__thumb .ws-rm__play::before { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 2px; }
.ws-rm__thumb.has-more::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .52); border-radius: inherit; pointer-events: none; }
.ws-rm__more { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 800; letter-spacing: .01em; }
@media (max-width: 767px) {
  /* compact phone card: the date row sits under the name; the thumbnail comes right under the date, on the left */
  .ws-rvp .ws-rv__side { flex: 1 1 100%; align-items: flex-start; gap: 6px; }
  html body .ws-rvp .ws-rm__thumb { width: 40px; height: 40px; border-radius: 9px !important; }
}

/* Reviews on the product page: smaller, squarer cards (4 across on desktop) */
@media (min-width: 768px) {
  html body #ws-reviews .ws-card { padding: 20px; }
  html body #ws-reviews .ws-rvp__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
  html body #ws-reviews .ws-rvp__grid .ws-rv__card { padding: 14px; gap: 8px; border-radius: 16px; aspect-ratio: 1 / 1; overflow: hidden; align-self: stretch; }
  html body #ws-reviews .ws-rvp__grid .ws-rv__card.is-open { aspect-ratio: auto; overflow: visible; }
  html body #ws-reviews .ws-rv__head { gap: 8px; }
  html body #ws-reviews .ws-rv__avatar { width: 30px; height: 30px; font-size: .8rem; }
  html body #ws-reviews .ws-rv__name { font-size: .88rem; }
  html body #ws-reviews .ws-rv__date { font-size: .68rem; }
  html body #ws-reviews .ws-rvp__grid .ws-rv__text { font-size: .84rem; line-height: 1.5; min-height: 0 !important; -webkit-line-clamp: 5; line-clamp: 5; }
  html body #ws-reviews .ws-rvp__grid .ws-rv__card.is-open .ws-rv__text { -webkit-line-clamp: unset; line-clamp: unset; }
  html body #ws-reviews .ws-rv__side .ws-rm__thumb { width: 34px; height: 34px; }
  html body #ws-reviews .ws-rvp__sum { margin-bottom: 14px; }
}
@media (min-width: 768px) and (max-width: 1100px) { html body #ws-reviews .ws-rvp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== review cards: natural height, equal per row, the See more link always sits inside the padding ===== */
html body #ws-reviews .ws-rvp__grid, html body .ws-rvp__grid { align-items: stretch; }
html body #ws-reviews .ws-rvp__grid .ws-rv__card, html body .ws-rvp .ws-rv__card { aspect-ratio: auto !important; overflow: visible !important; min-height: 0; height: auto; align-self: stretch; padding-bottom: 16px; }
html body #ws-reviews .ws-rvp__grid .ws-rv__text, html body .ws-rvp .ws-rv__text { min-height: 0 !important; -webkit-line-clamp: 4; line-clamp: 4; }
html body #ws-reviews .ws-rvp__grid .ws-rv__card.is-open .ws-rv__text, html body .ws-rvp .ws-rv__card.is-open .ws-rv__text { -webkit-line-clamp: unset; line-clamp: unset; }
html body .ws-rv__card .ws-rv__more { margin: 2px 0 0; line-height: 1.3; }
html body .ws-rv__card .ws-rv__text { margin-bottom: 0; }

/* customer reviews page: the list sits in the same centred column as the page title */
html body .ws-rv { width: 100%; max-width: 1080px; margin: 8px auto 40px; padding: 0 clamp(20px, 5vw, 24px); box-sizing: border-box; }
html body .ws-doc { width: 100%; box-sizing: border-box; }
html body .ws-rv__card .ws-rv__text { min-height: 0 !important; }
