.review-gallery[hidden],.review-gallery [hidden]{display:none!important}
.review-gallery{-webkit-tap-highlight-color:transparent;position:fixed;inset:0;z-index:100000;color:#0c1939;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.5}
.review-gallery *{box-sizing:border-box}
.review-gallery__backdrop{position:absolute;inset:0;touch-action:none;background:rgba(15,27,45,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.review-gallery__dialog{position:relative;display:grid;overscroll-behavior:contain;grid-template-columns:minmax(0,1fr) 380px;gap:16px;width:calc(100% - 48px);max-width:1440px;height:calc(100vh - 48px);height:calc(100dvh - 48px);margin:24px auto}
.review-gallery__stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:20px 88px 68px;overflow:hidden;border-radius:16px}
.review-gallery__stage.is-single{padding:20px}
.review-gallery__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:12px;object-fit:contain;opacity:1;transition:opacity .2s ease}.review-gallery__image:not([src]){visibility:hidden}.review-gallery__stage.is-loading .review-gallery__image{opacity:0}.review-gallery__loader{position:absolute;inset:0;display:none;align-items:center;justify-content:center;pointer-events:none}.review-gallery__stage.is-loading .review-gallery__loader{display:flex;animation:review-gallery-appear .2s ease .15s both}.review-gallery__spinner{width:44px;height:44px;border:3px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:review-gallery-spin .8s linear infinite}.review-gallery__error{position:absolute;left:50%;top:50%;padding:10px 16px;border-radius:12px;background:rgba(15,27,45,.7);color:#fff;font-size:14px;transform:translate(-50%,-50%)}@keyframes review-gallery-spin{to{transform:rotate(360deg)}}@keyframes review-gallery-appear{from{opacity:0}to{opacity:1}}
.review-gallery__close,.review-gallery__arrow{position:absolute;display:flex;align-items:center;justify-content:center;padding:0;border:0;cursor:pointer;transition:background-color .15s ease,transform .15s ease}
.review-gallery__close{top:12px;right:12px;z-index:3;width:40px;height:40px;border-radius:12px;background:#f0f3f6;color:#3d4955}
.review-gallery__close:hover{background:#e4e9ef}
.review-gallery__close svg{width:17px;height:17px}
.review-gallery__arrow{top:50%;width:48px;height:48px;border-radius:50%;background:#fff;color:#0c1939;box-shadow:none;transform:translateY(-50%)}
.review-gallery__arrow:hover{transform:translateY(-50%) scale(1.05)}
.review-gallery__arrow svg{width:20px;height:20px}
.review-gallery__arrow--prev{left:20px}
.review-gallery__arrow--next{right:20px}
.review-gallery__counter{position:absolute;left:50%;bottom:18px;padding:6px 14px;border-radius:999px;background:rgba(15,27,45,.55);color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;transform:translateX(-50%)}
.review-gallery__side{position:relative;min-height:0;padding:24px;overflow-y:auto;border-radius:16px;background:#fff}
.review-gallery__author{display:flex;align-items:center;gap:12px;padding-right:48px}
.review-gallery__avatar{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#2563d9;color:#fff;font-size:16px;font-weight:700}
.review-gallery__name{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.review-gallery__stars{display:flex;gap:1px;margin-top:14px;color:#dfe4ea;font-size:20px;line-height:1}
.review-gallery__stars i{font-style:normal}
.review-gallery__stars i.on{color:#ffb400}
.review-gallery__date{display:block;margin-top:6px;color:#5f6b78;font-size:12px}
.review-gallery__staff,.review-gallery__purchase{display:inline-flex;margin-top:10px;margin-right:6px;padding:2px 8px;border-radius:999px;background:#eaf1fe;color:#1f4fae;font-size:12px;font-weight:600}
.review-gallery__purchase{background:#e7f6ee;color:#1f7a45}
.review-gallery__purchase.returned{background:#fff1de;color:#8a5208}
.review-gallery__product{margin-top:14px;padding:10px 12px;border-radius:12px;background:#f4f6f9;color:#3d4955;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.review-gallery__content{margin-top:16px;font-size:15px;line-height:1.65}
.review-gallery__field{margin-bottom:12px}
.review-gallery__label{display:block;margin-bottom:2px;color:#5f6b78;font-size:12px;font-weight:600}
.review-gallery__field[data-review-field="advantage"] .review-gallery__label{color:#1f7a45}
.review-gallery__field[data-review-field="disadvantage"] .review-gallery__label{color:#b03a22}
.review-gallery__text{white-space:pre-wrap;overflow-wrap:anywhere}
.review-gallery__thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.review-gallery__thumb{height:64px;padding:0;overflow:hidden;border:3px solid transparent;border-radius:12px;background:#f0f3f5;cursor:pointer}
.review-gallery__thumb.active{border-color:#2563d9}
.review-gallery__thumb img{display:block;width:auto;max-width:120px;height:100%;object-fit:initial}
.review-gallery__reply{margin-top:18px;padding:14px 16px;border-radius:16px;background:#f4f6f9}
.review-gallery__reply-author{display:block;margin-bottom:4px;font-size:13px;font-weight:600}
.review-gallery__reply-text{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.review-gallery__close:focus-visible,.review-gallery__arrow:focus-visible{outline:2px solid #2563d9;outline-offset:3px}.review-gallery__thumb:focus,.review-gallery__thumb:focus-visible{outline:none}.review-gallery__thumb:focus-visible img{filter:brightness(.85)}
.review-gallery__bar,.review-gallery__sheet-head{display:none}
.review-gallery__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.review-gallery__dialog{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:0;width:100%;height:100vh;height:100dvh;margin:0;overflow:hidden}
.review-gallery__stage{min-height:0;padding:64px 58px 52px;border-radius:0;transition:filter .25s ease}.review-gallery__stage.is-single{padding:64px 12px 12px}
.review-gallery__arrow{width:40px;height:40px}.review-gallery__arrow--prev{left:10px}.review-gallery__arrow--next{right:10px}.review-gallery__counter{bottom:12px}
.review-gallery__close{top:12px;right:12px;z-index:5}
.review-gallery__bar{display:flex;align-items:center;gap:10px;margin:0 12px 12px;margin-bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:10px 10px 10px 12px;border-radius:16px;background:#fff}
.review-gallery__bar-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#2563d9;color:#fff;font-size:15px;font-weight:700}
.review-gallery__bar-info{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.review-gallery__bar-name{overflow:hidden;color:#0c1939;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.review-gallery__bar-stars{display:flex;gap:1px;color:#dfe4ea;font-size:13px;line-height:1}.review-gallery__bar-stars i{font-style:normal}.review-gallery__bar-stars i.on{color:#ffb400}
.review-gallery__toggle{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:40px;padding:0 12px;border:1px solid #2356db;border-radius:12px;background:transparent;color:#2356db;font:inherit;font-size:13px;font-weight:500;line-height:1;cursor:pointer}.review-gallery__toggle svg{width:16px;height:16px}
.review-gallery__side{position:absolute;right:0;bottom:0;left:0;z-index:4;max-height:80vh;max-height:80dvh;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 20px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;box-shadow:0 -12px 32px rgba(15,27,45,.25);transform:translateY(100%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
.review-gallery.is-review-open .review-gallery__side{transform:none;visibility:visible;transition:transform .25s ease}
.review-gallery__side.is-dragging{transition:none!important}
.review-gallery__stage{touch-action:pan-y pinch-zoom}
.review-gallery__sheet-head{touch-action:none}
.review-gallery.is-review-open .review-gallery__stage{filter:brightness(.55)}
.review-gallery__sheet-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:flex-end;margin:0 -20px 6px;padding:12px 10px 2px;background:#fff}
.review-gallery__sheet-grip{position:absolute;top:8px;left:50%;width:36px;height:4px;border-radius:2px;background:#dfe4ea;transform:translateX(-50%)}
.review-gallery__sheet-close{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#5f6b78;font:inherit;font-size:13px;font-weight:500;cursor:pointer}.review-gallery__sheet-close svg{width:16px;height:16px}
.review-gallery__toggle:focus-visible,.review-gallery__sheet-close:focus-visible{outline:2px solid #2563d9;outline-offset:2px}
.review-gallery__author{padding-right:0}}
.review-gallery:not([hidden]) .review-gallery__backdrop{animation:review-gallery-fade .25s ease both}
.review-gallery:not([hidden]) .review-gallery__dialog{animation:review-gallery-fade .25s ease both}
@keyframes review-gallery-fade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.review-gallery *{scroll-behavior:auto!important;transition:none!important}.review-gallery:not([hidden]) .review-gallery__backdrop,.review-gallery:not([hidden]) .review-gallery__dialog{animation:none}.review-gallery__spinner{animation-duration:1.6s}.review-gallery__stage.is-loading .review-gallery__loader{animation:none}}
