/*
 * Reviews Badge Fallback Stylesheet
 * File: /css/reviews-badge-fallback.css
 *
 * All fallback classes are uniquely prefixed with .lsh-badge-fallback-*
 * to eliminate any CSS conflicts or class collisions with external widgets.
 */

.lsh-badge-fallback-wrapper {
  display: block;
  position: relative;
  width: auto;
  max-width: 100%;
  font-family: "myriad-pro-condensed", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

.lsh-badge-fallback-embed {
  display: block;
  position: relative;
  max-width: 100%;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
  padding: 0 5px;
}

.lsh-badge-fallback-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: static;
  max-width: 100%;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

.lsh-badge-fallback-badge {
  display: block;
  position: relative;
  max-width: 100%;
  border-radius: 8px;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

.lsh-badge-fallback-card {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

/* Outer column group holding rating row + reviews count */
.lsh-badge-fallback-rating-group {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  position: static;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

/* Inner flex row holding 4.7 score + stars bar */
.lsh-badge-fallback-rating-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  position: static;
  font-family: "myriad-pro-condensed", Sans-serif;
  color: rgb(79, 79, 77);
  box-sizing: border-box;
}

/* Rating score number (4.7) */
.lsh-badge-fallback-value {
  display: block;
  font-family: "myriad-pro-condensed", Sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
  color: rgb(17, 17, 17);
  box-sizing: border-box;
}

/* Rating bar holding star items */
.lsh-badge-fallback-stars-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  font-family: "myriad-pro-condensed", Sans-serif;
  box-sizing: border-box;
}

/* Star item wrapper holding 2 overlay SVG layers */
.lsh-badge-fallback-star-item {
  display: block;
  position: relative;
  width: 26px;
  height: 26px;
  font-family: "myriad-pro-condensed", Sans-serif;
  box-sizing: border-box;
}

/* Star item unfilled (grey) layer */
.lsh-badge-fallback-star-unfilled {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
}

/* Star item filled (gold/yellow) layer */
.lsh-badge-fallback-star-filled {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
}

.lsh-badge-fallback-stars-bar svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: hidden;
  box-sizing: border-box;
}

.lsh-badge-fallback-star-unfilled svg path {
  fill: rgba(17, 17, 17, 0.2);
}

.lsh-badge-fallback-star-filled svg path {
  fill: rgb(252, 191, 2) !important;
}

/* Reviews Count (213 reviews) */
.lsh-badge-fallback-reviews-count {
  display: block;
  font-family: "myriad-pro-condensed", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  color: rgb(134, 134, 134);
  box-sizing: border-box;
}
