.star {
  position: relative;
  float: left;
  width: 18px;
  overflow: hidden;
  cursor: pointer;
  font-size: 1.333em;
  font-weight: normal; }

  .star a {
    display: block;
    position: absolute;
    text-indent: -5000px; }

div.star:after {
  content: "\e883";
  font-family: "fontello";
  display: inline-block;
  color: #CCCCCC; }

div.star.star_on {
  display: block; }
  div.star.star_on:after {
    content: "\e883";
    font-family: "fontello";
    display: inline-block;
    color: #FF8A00; }

div.star.star_hover:after {
  color: #FF8A00;
  content: "\e883";
  font-family: "fontello";
  display: inline-block; }
  

.rating_box i {
  color: #ccc;
  display: inline-block; }
  .rating_box i.light {
    color: #ff8a00; }
.rating_box .comment_nbr {
  color: #999; }
.pcomments_images_small{
  display: inline-block;
  padding: 1px;
}
.pcomments_images_small img{
  max-width: 60px;
}
.pcomments_images_large{
  display: block;
}
.pcomments_images_large img{
  max-width: 500px;
}
.pcomment_left{width: 130px;}
.pcomment_left_item{width: 120px;}

.tag-wrap .form-control{
  max-width: 160px;
  display: inline-block;
}
.average_left{
  width: 80px;
}
.average_right{
  width: 30px;
}
.rating_box{
  display: block;
}
.pc_reply_child{
  padding-left: 36px;
}
@-webkit-keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@-moz-keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@keyframes passing-through {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30%, 70% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px); } }
@-webkit-keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@-moz-keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px); }
  30% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px); } }
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); }
  10% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }
  20% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); } }
.st-dropzone, .st-dropzone * {
  box-sizing: border-box; }



.st-dropzone {
  min-height: 50px;
  border: 2px dashed #999;
  border-radius: 5px;
  background: white;
  padding: 10px 10px;
  margin-bottom: 28px; }
  .st-dropzone.dz-clickable {
    cursor: pointer; }
    .st-dropzone.dz-clickable * {
      cursor: default; }
    .st-dropzone.dz-clickable .dz-message, .st-dropzone.dz-clickable .dz-message * {
      cursor: pointer; }
  .st-dropzone.dz-started .dz-message {
    display: none; }
  .st-dropzone.dz-drag-hover {
    border-style: solid; }
    .st-dropzone.dz-drag-hover .dz-message {
      opacity: 0.5; }
  .st-dropzone .dz-message {
    text-align: left;
    margin: 2em 0; }
  .st-dropzone .dz-preview {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    min-height: 100px; }
    .st-dropzone .dz-preview:hover {
      z-index: 1000; }
      .st-dropzone .dz-preview:hover .dz-details {
        opacity: 1; }
    .st-dropzone .dz-preview.dz-file-preview .dz-image {
      border-radius: 20px;
      background: #999;
      background: linear-gradient(to bottom, #eee, #ddd); }
    .st-dropzone .dz-preview.dz-file-preview .dz-details {
      opacity: 1; }
    .st-dropzone .dz-preview.dz-image-preview {
      background: white; }
      .st-dropzone .dz-preview.dz-image-preview .dz-details {
        -webkit-transition: opacity 0.2s linear;
        -moz-transition: opacity 0.2s linear;
        -ms-transition: opacity 0.2s linear;
        -o-transition: opacity 0.2s linear;
        transition: opacity 0.2s linear; }
    .st-dropzone .dz-preview .dz-remove {
      font-size: 14px;
      text-align: center;
      display: block;
      cursor: pointer;
      border: none; }
      .st-dropzone .dz-preview .dz-remove:hover {
        text-decoration: underline; }
    .st-dropzone .dz-preview:hover .dz-details {
      opacity: 1; }
    .st-dropzone .dz-preview .dz-details {
      z-index: 20;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      font-size: 13px;
      min-width: 100%;
      max-width: 100%;
      padding: 2em 1em;
      text-align: center;
      color: rgba(0, 0, 0, 0.9);
      line-height: 150%; }
      .st-dropzone .dz-preview .dz-details .dz-size {
        margin-bottom: 1em;
        font-size: 16px; }
      .st-dropzone .dz-preview .dz-details .dz-filename {
        white-space: nowrap; }
        .st-dropzone .dz-preview .dz-details .dz-filename:hover span {
          border: 1px solid rgba(200, 200, 200, 0.8);
          background-color: rgba(255, 255, 255, 0.8); }
        .st-dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
          overflow: hidden;
          text-overflow: ellipsis; }
          .st-dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
            border: 1px solid transparent; }
      .st-dropzone .dz-preview .dz-details .dz-filename span, .st-dropzone .dz-preview .dz-details .dz-size span {
        background-color: rgba(255, 255, 255, 0.4);
        padding: 0 0.4em;
        border-radius: 3px; }
    .st-dropzone .dz-preview:hover .dz-image img {
      -webkit-transform: scale(1.05, 1.05);
      -moz-transform: scale(1.05, 1.05);
      -ms-transform: scale(1.05, 1.05);
      -o-transform: scale(1.05, 1.05);
      transform: scale(1.05, 1.05);
      -webkit-filter: blur(8px);
      filter: blur(8px); }
    .st-dropzone .dz-preview .dz-image {
      border-radius: 20px;
      overflow: hidden;
      width: 120px;
      height: 120px;
      position: relative;
      display: block;
      z-index: 10; }
      .st-dropzone .dz-preview .dz-image img {
        display: block; }
    .st-dropzone .dz-preview.dz-success .dz-success-mark {
      -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      -o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
      animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
    .st-dropzone .dz-preview.dz-error .dz-error-mark {
      opacity: 1;
      -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
      animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
    .st-dropzone .dz-preview .dz-success-mark, .st-dropzone .dz-preview .dz-error-mark {
      pointer-events: none;
      opacity: 0;
      z-index: 500;
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      margin-left: -27px;
      margin-top: -27px; }
      .st-dropzone .dz-preview .dz-success-mark svg, .st-dropzone .dz-preview .dz-error-mark svg {
        display: block;
        width: 54px;
        height: 54px; }
    .st-dropzone .dz-preview.dz-processing .dz-progress {
      opacity: 1;
      -webkit-transition: all 0.2s linear;
      -moz-transition: all 0.2s linear;
      -ms-transition: all 0.2s linear;
      -o-transition: all 0.2s linear;
      transition: all 0.2s linear; }
    .st-dropzone .dz-preview.dz-complete .dz-progress {
      opacity: 0;
      -webkit-transition: opacity 0.4s ease-in;
      -moz-transition: opacity 0.4s ease-in;
      -ms-transition: opacity 0.4s ease-in;
      -o-transition: opacity 0.4s ease-in;
      transition: opacity 0.4s ease-in; }
    .st-dropzone .dz-preview:not(.dz-processing) .dz-progress {
      -webkit-animation: pulse 6s ease infinite;
      -moz-animation: pulse 6s ease infinite;
      -ms-animation: pulse 6s ease infinite;
      -o-animation: pulse 6s ease infinite;
      animation: pulse 6s ease infinite; }
    .st-dropzone .dz-preview .dz-progress {
      opacity: 1;
      z-index: 1000;
      pointer-events: none;
      position: absolute;
      height: 16px;
      left: 50%;
      top: 50%;
      margin-top: -8px;
      width: 80px;
      margin-left: -40px;
      background: rgba(255, 255, 255, 0.9);
      -webkit-transform: scale(1);
      border-radius: 8px;
      overflow: hidden; }
      .st-dropzone .dz-preview .dz-progress .dz-upload {
        background: #333;
        background: linear-gradient(to bottom, #666, #444);
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 0;
        -webkit-transition: width 300ms ease-in-out;
        -moz-transition: width 300ms ease-in-out;
        -ms-transition: width 300ms ease-in-out;
        -o-transition: width 300ms ease-in-out;
        transition: width 300ms ease-in-out; }
    .st-dropzone .dz-preview.dz-error .dz-error-message {
      display: block; }
    .st-dropzone .dz-preview.dz-error:hover .dz-error-message {
      opacity: 1;
      pointer-events: auto; }
    .st-dropzone .dz-preview .dz-error-message {
      pointer-events: none;
      z-index: 1000;
      position: absolute;
      display: block;
      display: none;
      opacity: 0;
      -webkit-transition: opacity 0.3s ease;
      -moz-transition: opacity 0.3s ease;
      -ms-transition: opacity 0.3s ease;
      -o-transition: opacity 0.3s ease;
      transition: opacity 0.3s ease;
      border-radius: 8px;
      font-size: 13px;
      top: 130px;
      left: -10px;
      width: 140px;
      background: #be2626;
      background: linear-gradient(to bottom, #be2626, #a92222);
      padding: 0.5em 1.2em;
      color: white; }
      .st-dropzone .dz-preview .dz-error-message:after {
        content: '';
        position: absolute;
        top: -6px;
        left: 64px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #be2626; }

  .st-dropzone .dz-message {
    font-weight: 400; }
    .st-dropzone .dz-message .note {
      font-size: 0.8em;
      font-weight: 200;
      display: block;
      margin-top: 1.4rem; }
/* Tag manager */    
.tm-tag {
  cursor: pointer;
  border: #bbbbbb 1px solid;
  display: inline-block;
  border-radius: 3px;
  margin: 0 5px 5px 0;
  padding: 6px 8px;
  text-decoration: none;
  transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
  -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
  -webkit-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
  vertical-align: middle;
}
.tm-tag.tm-checked{
    border:1px solid #e4393c;
}
.tm-tag .tm-tag-remove {
  font-weight: bold;
  margin-left: 4px;
  opacity: 0.2;
}
.tm-tag .tm-tag-remove:hover {
  text-decoration: none;
  opacity: 0.4;
}
.tm-tag.tm-tag-warning {
  color: #945203;
  background-color: #f2c889;
  border-color: #f0a12f;
}
.tm-tag.tm-tag-error {
  color: #84212e;
  background-color: #e69ca6;
  border-color: #d24a5d;
}
.tm-tag.tm-tag-success {
  color: #638421;
  background-color: #cde69c;
  border-color: #a5d24a;
}
.tm-tag.tm-tag-info {
  color: #4594b5;
  background-color: #c5eefa;
  border-color: #5dc8f7;
}
.tm-tag.tm-tag-inverse {
  color: #cccccc;
  background-color: #555555;
  border-color: #333333;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
}
.tm-tag.tm-tag-inverse .tm-tag-remove {
  color: #ffffff;
}
.tm-tag.tm-tag-large {
  font-size: 16.25px;
  border-radius: 4px;
  padding: 11px 7px;
}
.tm-tag.tm-tag-small {
  font-size: 11.049999999999999px;
  border-radius: 3px;
  padding: 2px 4px;
}
.tm-tag.tm-tag-mini {
  font-size: 9.75px;
  border-radius: 2px;
  padding: 0px 2px;
}
.tm-tag.tm-tag-plain {
  color: #333333;
  box-shadow: none;
  background: none;
  border: none;
}
.tm-tag.tm-tag-disabled {
  color: #aaaaaa;
  background-color: #e6e6e6;
  border-color: #cccccc;
  box-shadow: none;
}
.tm-tag.tm-tag-disabled .tm-tag-remove {
  display: none;
}
input[type="text"].tm-input {
  margin-bottom: 5px;
  vertical-align: middle !important;
}
.control-group.tm-group {
  margin-bottom: 5px;
}
.form-horizontal .control-group.tm-group {
  margin-bottom: 15px;
}


.pcomments_score{width:300px;}
.pcomments_tags{min-width:300px;}

.pcomments_tags{min-width:300px;}
.st_product_comment_wrap{background: #fff;padding: 10px;}
.st_product_comment_wrap h3{text-align: center;}/* ==========================================================================
   ST PRODUCT COMMENTS — ФИНАЛЕН ДИЗАЙН
   Етикети над полетата, критериите в отделна сива кутия,
   бутон #ca0018, звезди #ff8a00, оптимизирано за мобилни.
   ========================================================================== */

/* ---- 1. Общ контейнер ---- */
.st_product_comment_wrap {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px auto;
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.st_product_comment_wrap h3 {
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #222;
}

.pccomment_block > [data-alert="warning"] {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 14px 18px;
  color: #777;
  margin-bottom: 16px;
}

/* ---- 2. Критерии за оценка — сива кутия, етикет над звездите ---- */
.st_product_comment_wrap .criterions_list {
  list-style: none;
  margin: 18px 0 22px 0;
  padding: 12px 16px;
  background: #f7f6f4;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.st_product_comment_wrap .criterions_list li {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 4px;
}

.st_product_comment_wrap .criterion_name {
  font-weight: 500;
  color: #666;
  font-size: 12px;
  margin-right: 0 !important;
}

.st_product_comment_wrap .star_content {
  display: flex;
}

.st_product_comment_wrap .star {
  width: 20px !important;
  font-size: 1.5em !important;
  transition: transform 0.12s ease;
}

.st_product_comment_wrap .star:hover {
  transform: scale(1.15);
}

/* Жълто/оранжево за звездите */
.st_product_comment_wrap div.star.star_on:after,
.st_product_comment_wrap div.star.star_hover:after {
  color: #ff8a00 !important;
}

/* ---- 3. Форма — етикет НАД полето (не отляво) ---- */
.st_product_comment_wrap .form-group.row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 0 18px 0 !important;
}

.st_product_comment_wrap .form-control-label {
  flex: none;
  max-width: 100%;
  padding-top: 0;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 13px;
}

.st_product_comment_wrap .form-control-label.required:after {
  content: " *";
  color: #ca0018;
}

.st_product_comment_wrap [class*="col-md-8"],
.st_product_comment_wrap [class*="col-md-2"] {
  flex: none;
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
}

.st_product_comment_wrap .form-control,
.st_product_comment_wrap .tm-input,
.st_product_comment_wrap .st_comment_box {
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.st_product_comment_wrap .st_comment_box {
  resize: vertical;
  min-height: 110px;
}

.st_product_comment_wrap .form-control:focus,
.st_product_comment_wrap .tm-input:focus,
.st_product_comment_wrap .st_comment_box:focus {
  border-color: #ca0018;
  box-shadow: 0 0 0 3px rgba(202, 0, 24, 0.12);
  outline: none;
}

.st_product_comment_wrap .tag-wrap .form-control {
  max-width: 100% !important;
  display: block;
}

.st_product_comment_wrap .tag-wrap > div {
  font-size: 12.5px;
  color: #999;
  margin-top: 6px;
}

/* ---- 4. Брояч на символи на един ред, дискретен ---- */
.st_product_comment_wrap .charleft {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
  white-space: nowrap;
}

.st_product_comment_wrap .charleft.warningTextareaInfo {
  color: #ca0018;
  font-weight: 500;
}

/* ---- 5. Качване на снимки ---- */
.st_product_comment_wrap .st-dropzone {
  max-width: 100%;
  border-radius: 8px;
}

/* ---- 6. Бутон — бордо/теракота, цяла ширина ---- */
.st_product_comment_wrap #st_product_comment_submit {
  background: #ca0018;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease, transform 0.05s ease;
}

.st_product_comment_wrap #st_product_comment_submit:hover {
  background: #a50013;
}

.st_product_comment_wrap #st_product_comment_submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.st_product_comment_wrap #st_product_comment_submit:active {
  transform: translateY(1px);
}

.st_product_comment_wrap #cancel_comment_reply_link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #999;
}

/* ---- 7. Резервно съобщение при изпращане (ако magnificPopup липсва) ---- */
.st_pc_inline_confirm {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 99999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  max-width: 90vw;
  text-align: center;
}

/* ---- 10. Секцията с отзиви (Overall rating + списък с отзиви) ---- */

/* Разделител под "Overall rating" / "Оценете ни", преди списъка с отзиви */
.pcomments_header {
  padding-bottom: 18px;
  margin-bottom: 22px !important;
  border-bottom: 1px solid #ececec;
}

/* Всеки отделен отзив - отделено пространство и тънка линия между тях */
#js_pcomments_list .st_product_comment_list.large_list > .line_item {
  padding: 22px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

#js_pcomments_list .st_product_comment_list.large_list > .line_item:first-child {
  padding-top: 4px;
}

#js_pcomments_list .st_product_comment_list.large_list > .line_item:last-child {
  border-bottom: none;
}

.pcomment_author {
  font-size: 15px;
  color: #222;
  margin-bottom: 6px;
}

.pcomment_body {
  color: #444;
  line-height: 1.65;
  font-size: 14.5px;
}

.pcomment_rbl,
.pcomment_rbr {
  font-size: 12.5px;
  color: #999;
}

.pcomment_product_name,
.pcomment_attr_name {
  color: #777;
  font-weight: 500;
}

.date-add {
  color: #aaa;
}

.report_btn,
.usefulness_btn {
  color: #999;
  transition: color 0.15s ease;
}

.report_btn:hover,
.usefulness_btn:hover {
  color: #ca0018;
  text-decoration: none;
}

/* Отговори (child коментари) - лек отстъп и разделителна линия отляво */
.pcomment_child {
  margin-top: 14px;
  padding-left: 20px;
  border-left: 2px solid #f0f0f0;
}

/* ---- 11. Цветни инициали до името на автора ---- */
.pcomment_left {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: auto !important;
  max-width: 100%;
}

.pcomment_left_text {
  min-width: 0;
  flex: 1 1 auto;
}

.pcomment_avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.pcomment_avatar_c0 { background: #ca0018; }
.pcomment_avatar_c1 { background: #d97706; }
.pcomment_avatar_c2 { background: #059669; }
.pcomment_avatar_c3 { background: #2563eb; }
.pcomment_avatar_c4 { background: #7c3aed; }
.pcomment_avatar_c5 { background: #db2777; }

/* ---- 12. Графика на разпределението по звезди ---- */
.pcomment_rating_dist {
  max-width: 320px;
}

.pcomment_rating_dist_row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #666;
}

.pcomment_rating_dist_label {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #999;
}

.pcomment_rating_dist_bar {
  flex: 1 1 auto;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.pcomment_rating_dist_fill {
  height: 100%;
  background: #ff8a00;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.pcomment_rating_dist_pct {
  flex: 0 0 36px;
  text-align: right;
  color: #999;
}
@media (max-width: 767px) {
  .st_product_comment_wrap {
    box-sizing: border-box;
    width: 100%;
    padding: 18px 14px;
    margin: 16px auto;
    border-radius: 8px;
  }

  .st_product_comment_wrap h3 {
    font-size: 17px;
  }

  .st_product_comment_wrap .criterions_list {
    padding: 10px 12px;
    gap: 12px 20px;
  }

  .st_product_comment_wrap .star {
    width: 24px !important;
    font-size: 1.7em !important;
  }

  /* font-size 16px спира автоматичния zoom на iPhone Safari при фокус в полето */
  .st_product_comment_wrap .form-control,
  .st_product_comment_wrap .tm-input,
  .st_product_comment_wrap .st_comment_box {
    font-size: 16px;
    padding: 10px 12px;
  }

  .st_product_comment_wrap .st_comment_box {
    min-height: 96px;
  }

  .st_product_comment_wrap .form-group.row {
    margin-bottom: 14px !important;
  }

  .st_product_comment_wrap #st_product_comment_submit {
    padding: 13px 20px;
    font-size: 15px;
  }

  .st_pc_inline_confirm {
    bottom: 16px;
    padding: 12px 18px;
    font-size: 13px;
    max-width: calc(100vw - 32px);
  }
}
