/* OLYMPSTORE24.com: reviews page, 20261119-reviews1. Existing reviews and form remain intact. */
#fn-content:has(.reviews_list) { --rv-ink: #242335; --rv-purple: #5156a9; --rv-muted: #69697c; --rv-line: #e3e1ee; color: var(--rv-ink); }
#fn-content:has(.reviews_list) .comments_title_wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin: 0 0 34px; padding: clamp(26px, 4vw, 50px); border: 1px solid var(--rv-line); border-radius: 28px; background: linear-gradient(115deg, #f1effa, #fbfafd); }
#fn-content:has(.reviews_list) .comments_title_wrap::before { content: 'OLYMPSTORE24.com'; grid-column: 1; font-size: clamp(18px, 2vw, 24px); line-height: 1.3; font-weight: 700; color: var(--rv-purple); letter-spacing: .015em; }
#fn-content:has(.reviews_list) .comments_title_wrap h1 { grid-column: 1; grid-row: 2; margin: 0; font-family: inherit; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: var(--rv-ink); }
#fn-content:has(.reviews_list) .comments_title_wrap::after { content: 'О покупках, ароматах и работе магазина. Спасибо, что делитесь своим опытом.'; grid-column: 1; grid-row: 3; max-width: 600px; color: var(--rv-muted); font-size: 17px; line-height: 1.65; }
#fn-content:has(.reviews_list) .comments_title_wrap > div { grid-column: 2; grid-row: 1 / 4; margin: 0 !important; }
#fn-content:has(.reviews_list) .comments_title_wrap .buy { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; height: auto; margin: 0; padding: 14px 26px; border: 1px solid var(--rv-purple); border-radius: 12px; color: #fff; background: var(--rv-purple); font-family: inherit; font-size: 16px; line-height: 1.4; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px #5156a91a; }
#fn-content:has(.reviews_list) .comments_title_wrap .buy:hover { background: #42468e; }
#fn-content:has(.reviews_list) #comments > .comment_form { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
#fn-content:has(.reviews_list) .reviews_list { list-style: none; margin: 0 !important; padding: 0; }
#fn-content:has(.reviews_list) .reviews_list > .comment_list_i { list-style: none; float: none; width: auto; margin: 0 0 18px; padding: 0; }
#fn-content:has(.reviews_list) .comment_list_i::before, #fn-content:has(.reviews_list) .comment_list_i::after { content: none; }
#fn-content:has(.reviews_list) .comment_list_i_wrap { box-sizing: border-box; position: relative; margin: 0; padding: 28px 32px; border: 1px solid var(--rv-line); border-radius: 20px; background: #fff; }
#fn-content:has(.reviews_list) .comment_list_i_wrap > .ovflh { overflow: visible; margin: 0; font-size: 16px; line-height: 1.8; color: #424154; overflow-wrap: anywhere; }
#fn-content:has(.reviews_list) .comment_header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px; margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid #efedf5; }
#fn-content:has(.reviews_list) .comment_header .review_name { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--rv-ink); text-transform: none; }
#fn-content:has(.reviews_list) .comment_header i { font-size: 13px; line-height: 1.5; font-style: normal; color: var(--rv-muted); }
#fn-content:has(.reviews_list) .comment_list_i_wrap > .m-y-1 { margin: 16px 0 0 !important; }
#fn-content:has(.reviews_list) .comment_list_i_wrap .answer { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: auto; margin: 0; padding: 9px 16px; border: 1px solid #e0ddec; border-radius: 9px; background: #f7f6fc; color: var(--rv-purple); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
#fn-content:has(.reviews_list) .comment_list_i_wrap .answer:hover { background: #efedf8; }
#fn-content:has(.reviews_list) .reviews_list .reviews_list { margin: 14px 0 0 28px !important; padding-left: 18px; border-left: 2px solid #dbd8ed; }
#fn-content:has(.reviews_list) .reviews_list .reviews_list .comment_list_i_wrap { padding: 22px 26px; border-radius: 16px; background: #f8f7fc; }
#fn-content:has(.reviews_list) .comment_list_i_wrap .image:empty { display: none; }
#fn-content:has(.reviews_list) .comment_list_i_wrap img { max-width: 100%; height: auto; border-radius: 10px; }
#fn-content:has(.reviews_list) .comment_list_i_video, #fn-content:has(.reviews_list) .comment_list_i_wrap iframe { max-width: 100%; }
#fn-content:has(.reviews_list) .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 16px; padding: 0; }
#fn-content:has(.reviews_list) .pagination .page_item { margin: 0; padding: 0; }
#fn-content:has(.reviews_list) .pagination .page_link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 9px 14px; border: 1px solid var(--rv-line); border-radius: 9px; background: #fff; color: var(--rv-purple); font-size: 14px; line-height: 1.5; }
#fn-content:has(.reviews_list) .pagination .active .page_link { color: #fff; border-color: var(--rv-purple); background: var(--rv-purple); }
#fn-content:has(.reviews_list) .pagination .disabled .page_link { color: #858493; background: #f6f5f9; }
#fn-content:has(.reviews_list) a:focus-visible { outline: 3px solid #8b8ed0; outline-offset: 4px; }
/* fancyBox moves the existing form outside #fn-content while it is open. */
body:has(.reviews_list) #review_form { box-sizing: border-box; width: 100%; max-width: 620px; padding: 12px 16px; font-family: inherit; color: #242335; font-size: 15px; line-height: 1.65; }
body:has(.reviews_list) #review_form .comment_form_popup_block_title { margin: 0 0 20px; font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1.25; text-transform: none; color: #242335; }
body:has(.reviews_list) #review_form .form-control { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; margin: 6px 0; padding: 12px 14px; border: 1px solid #d8d5e6; border-radius: 10px; background: #faf9fd; color: #242335; font-family: inherit; font-size: 16px; line-height: 1.5; }
body:has(.reviews_list) #review_form .comment_textarea { min-height: 150px; height: 150px; resize: vertical; }
body:has(.reviews_list) #review_form .form-control:focus { outline: 2px solid #8b8ed0; outline-offset: 2px; border-color: #5156a9; }
body:has(.reviews_list) #review_form .add_img { font-weight: 600; color: #424154; }
body:has(.reviews_list) #review_form input[type=file] { max-width: 100%; font-family: inherit; font-size: 13px; }
body:has(.reviews_list) #review_form input[type=file]::file-selector-button { min-height: 40px; margin: 6px 10px 6px 0; padding: 8px 12px; border: 1px solid #dedbec; border-radius: 8px; background: #f3f1fa; color: #5156a9; font-family: inherit; }
body:has(.reviews_list) #review_form .youtube_wrap { padding: 16px; border-radius: 12px; background: #f7f6fc; font-size: 13px; overflow-wrap: anywhere; }
body:has(.reviews_list) #review_form .captcha { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
body:has(.reviews_list) #review_form .input_captcha { width: 180px; }
body:has(.reviews_list) #review_form .btn-send-comment { margin: 18px 0 0; }
body:has(.reviews_list) #review_form input[type=submit] { width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid #5156a9; border-radius: 10px; color: #fff; background: #5156a9; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; }
body:has(.reviews_list) .fancybox-wrap:has(#review_form) .fancybox-skin { border-radius: 20px; background: #fff; }
@media (max-width: 767px) {
  #fn-content:has(.reviews_list) .comments_title_wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px; border-radius: 20px; margin-bottom: 22px; }
  #fn-content:has(.reviews_list) .comments_title_wrap > div { grid-column: 1; grid-row: 4; margin-top: 4px !important; }
  #fn-content:has(.reviews_list) .comments_title_wrap .buy { width: 100%; }
  #fn-content:has(.reviews_list) .comments_title_wrap::after { font-size: 16px; }
  #fn-content:has(.reviews_list) .comment_list_i_wrap { padding: 22px; border-radius: 16px; }
  #fn-content:has(.reviews_list) .comment_header { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 14px; padding-bottom: 14px; }
  #fn-content:has(.reviews_list) .reviews_list .reviews_list { margin-left: 10px !important; padding-left: 10px; }
  #fn-content:has(.reviews_list) .reviews_list .reviews_list .comment_list_i_wrap { padding: 18px; }
  body:has(.reviews_list) #review_form { padding: 8px 2px; }
  body:has(.reviews_list) #review_form .comment_form_popup_block_title { font-size: 23px; }
}
@media (max-width: 359px) {
  #fn-content:has(.reviews_list) .comments_title_wrap { padding: 22px; }
  #fn-content:has(.reviews_list) .comment_list_i_wrap { padding: 18px; }
  #fn-content:has(.reviews_list) .reviews_list .reviews_list { margin-left: 6px !important; padding-left: 8px; }
  #fn-content:has(.reviews_list) .reviews_list .reviews_list .comment_list_i_wrap { padding: 14px; }
}
