/* tx_hreviews - styly odznaku na frontendu e-shopu */

.txhr-wrapper {
    display: inline-block;
}
.txhr-wrapper.txhr-floating {
    position: fixed;
    z-index: 999999;
}
.txhr-wrapper.txhr-pos-bottom_right {
    right: 16px;
    bottom: 16px;
}
.txhr-wrapper.txhr-pos-bottom_left {
    left: 16px;
    bottom: 16px;
}
.txhr-wrapper.txhr-pos-top_right {
    right: 16px;
    top: 16px;
}
.txhr-wrapper.txhr-pos-top_left {
    left: 16px;
    top: 16px;
}

.txhr-badge {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0px 6px rgba(0, 0, 0, .18);
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
    min-width: 190px;
    transition: transform .15s ease;
}
.txhr-badge:hover {
    transform: translateY(-2px);
}
.txhr-badge.txhr-vertical {
    flex-direction: column;
    text-align: center;
    min-width: 130px;
}
.txhr-badge .txhr-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.txhr-icon {
    margin-right: 12px;
    flex-shrink: 0;
    font-family: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: #1E88E5;
}
.txhr-icon-bang {
    color: #F4511E;
}
.txhr-badge.txhr-vertical .txhr-icon {
    margin-right: 0;
    margin-bottom: 6px;
}

.txhr-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}
.txhr-label {
    font-size: 13px;
    font-weight: 600;
}
.txhr-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    justify-content: center;
}
.txhr-badge.txhr-vertical .txhr-rating-row {
    justify-content: center;
}
.txhr-rating-number {
    font-size: 16px;
    font-weight: 700;
}
.txhr-stars {
    position: relative;
    display: inline-block;
    font-size: 16px;
}
.txhr-stars-back {
    color: #e0e0e0;
}
.txhr-stars-front {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

@media (max-width: 575px) {
  .txhr-badge.txhr-horizontal {
    flex-direction: column;
    text-align: center;
    min-width: 150px;
  }

  .txhr-badge.txhr-horizontal .txhr-icon {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .txhr-badge.txhr-horizontal .txhr-rating-row {
    justify-content: center;
  }
}
