/* Отзывы BOOM CHEESE.
   1) Лента на главной — пункт аккордеона «Отзывы» (тёмный фон .accord, карточки как рецепты .rcard).
   2) Страница всех отзывов /shop/otzyvy.html — светлая сетка .otzyvy. */

/* ── 1. Лента в аккордеоне ── */
.accord .rv-intro{padding-bottom:12px}
.accord .rv-intro b{color:#fff;font-size:16px}
.accord .rv-agg-stars{color:var(--cheese,#F4D177);letter-spacing:2px;font-size:15px}
.accord .rvrow{padding-bottom:18px}
.accord .rvc{flex:0 0 100%;min-height:150px}
.accord .rvc .rvc-ph{position:relative;flex:0 0 120px;width:120px;align-self:stretch;display:block;background:rgba(255,255,255,.06)}
.accord .rvc .rvc-ph img{width:100%;height:100%;object-fit:cover;display:block}
.accord .rvc .rvc-ph i{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.55);color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:20px;padding:2px 8px}
.accord .rvc .rb{display:flex;flex-direction:column;gap:5px;padding:14px 16px}
.accord .rvc .rb b{margin:0;font-size:15px}
.accord .rvc .rb b small{font-weight:400;font-size:12px;color:rgba(255,255,255,.55)}
.accord .rvc .rvc-stars{color:var(--cheese,#F4D177);letter-spacing:1px;font-size:14px}
.accord .rvc .rvc-text{font-size:13.5px;color:rgba(255,255,255,.82);line-height:1.5}
.accord .rvc .rvc-meta{margin-top:auto;padding-top:6px;font-size:11px;color:rgba(255,255,255,.45)}
.accord .rv-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:0 24px 26px}
.accord .rv-btn{display:inline-block;background:var(--cheese,#F4D177);color:var(--brown,#4A3731);font-weight:700;font-size:14px;padding:12px 22px;border-radius:50px;text-decoration:none}
.accord .rv-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);font-weight:600}

/* ── 2. Страница всех отзывов ── */
.otzyvy{max-width:var(--maxw,860px);margin:0 auto;padding:0 24px 34px}
.otzyvy .rv-agg{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 18px;font-size:15px;color:var(--muted,#8a7d6b)}
.otzyvy .rv-agg-stars{color:#F0B429;font-size:20px;letter-spacing:2px}
.otzyvy .rv-agg b{font-size:20px;color:var(--ink,#2E2419)}
.otzyvy .rv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.otzyvy .rv-card{background:#fff;border:1px solid var(--line,#e7dcc8);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.otzyvy .rv-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.otzyvy .rv-top b{font-size:15px}
.otzyvy .rv-city{font-size:12px;color:var(--muted,#8a7d6b);white-space:nowrap}
.otzyvy .rv-stars{color:#F0B429;font-size:16px;letter-spacing:1px}
.otzyvy .rv-text{margin:0;font-size:14px;line-height:1.45;color:var(--ink,#2E2419)}
.otzyvy .rv-photos{display:flex;gap:6px;flex-wrap:wrap}
.otzyvy .rv-ph{width:64px;height:64px;border-radius:10px;overflow:hidden;flex:0 0 auto;background:#f3ede0}
.otzyvy .rv-ph img{width:100%;height:100%;object-fit:cover;display:block}
.otzyvy .rv-photos .rv-ph:first-child{width:100%;height:170px}
.otzyvy .rv-meta{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:var(--muted,#8a7d6b);margin-top:auto}
.otzyvy .rv-meta span{min-width:0}
.otzyvy .rv-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.otzyvy .rv-add,.otzyvy .rv-all{display:inline-block;padding:13px 24px;border-radius:50px;font-weight:600;font-size:14px;text-decoration:none}
.otzyvy .rv-add{background:var(--ink,#2E2419);color:#fff}
.otzyvy .rv-all{background:#fff;color:var(--ink,#2E2419);border:1px solid var(--line,#e7dcc8)}
.otzyvy .rv-empty{text-align:center;padding:10px 0 0;color:var(--muted,#8a7d6b);font-size:15px}
.otzyvy .rv-empty .rv-add{margin-top:8px}
.otzyvy .rv-pages{display:flex;gap:6px;justify-content:center;margin:20px 0}
.otzyvy .rv-pages a,.otzyvy .rv-pages b{min-width:36px;padding:8px 10px;border-radius:10px;text-align:center;text-decoration:none;color:var(--brown,#4A3731);background:#fff;border:1px solid var(--line,#e7dcc8)}
.otzyvy .rv-pages b{background:var(--brown,#4A3731);color:#fff;border-color:var(--brown,#4A3731)}
@media(max-width:560px){.otzyvy{padding:0 14px 28px}.otzyvy .rv-grid{grid-template-columns:1fr;gap:10px}.otzyvy .rv-card{padding:14px;border-radius:16px}.otzyvy .rv-photos .rv-ph:first-child{height:150px}}

/* ── 3. Просмотр фото поверх страницы (reviews-lightbox.js) ── */
.rvc-ph img,.rv-ph img{background:transparent}
.rvlb{position:fixed;inset:0;z-index:10000;background:#0c0907;display:none;align-items:center;justify-content:center;touch-action:pan-y}
.rvlb.on{display:flex}
.rvlb img{max-width:100vw;max-height:100vh;max-height:100dvh;object-fit:contain;user-select:none;-webkit-user-select:none}
.rvlb button{position:absolute;border:0;padding:0;width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.5);box-shadow:0 0 0 1px rgba(255,255,255,.25);color:#fff;font:400 30px/46px system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rvlb-x{top:max(12px,env(safe-area-inset-top));right:12px}
.rvlb-p,.rvlb-n{top:50%;transform:translateY(-50%)}
.rvlb-p{left:10px}.rvlb-n{right:10px}
.rvlb-c{position:absolute;left:0;right:0;bottom:max(16px,env(safe-area-inset-bottom));text-align:center;color:rgba(255,255,255,.8);font:500 14px system-ui,sans-serif}
.rvlb.one .rvlb-p,.rvlb.one .rvlb-n,.rvlb.one .rvlb-c{display:none}
html.rvlb-lock,html.rvlb-lock body{overflow:hidden}
