.erating {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin: 1rem 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.erating:hover {
  opacity: 0.8;
}

.erating__card {
  background: #0F2B5B;
  border: 1px solid rgba(180, 240, 0, 0.2);
  border-radius: var(--border-radius);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.erating__main {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.erating__col-star {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.erating__big-star {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  fill: #fbbf24;
  stroke: none;
}

.erating__col-rating {
  display: flex;
  align-items: center;
}

.erating__avg {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  color: #F4F6F8;
}

.erating__col-stars {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.erating__stars {
  display: inline-flex;
  gap: .15rem;
  align-items: center;
}

.star {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.star--full {
  fill: #fc0;
  stroke: #fc0;
}

.star--empty {
  stroke: #fc0;
  opacity: .35;
}

.star--half {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.star--half .star__base {
  stroke: #fc0;
  opacity: .35;
  fill: none;
}

.star--half .star__fill {
  position: absolute;
  inset: 0;
  fill: #fc0;
  stroke: #fc0;
}

.erating__count {
  color: #a0aec0;
  font-size: 0.875rem;
  margin-left: 0;
}

.erating__value {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 400;
  color: #F4F6F8;
}

.erating__label {
  font-size: 1rem;
  font-weight: 500;
  color: #F4F6F8;
  margin-top: 0.25rem;
}

.erating__unit {
  font-size: 0.875rem;
  color: #a0aec0;
}

.erating__card--availability {
  text-align: left;
  align-items: flex-start;
}

.erating__card--availability .erating__value {
  font-size: 1rem;
  font-weight: 400;
}

.erating__card--availability .erating__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0aec0;
  margin-bottom: 0.25rem;
}

.erating__price {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ef-border);
  width: 100%;
  font-size: 0.875rem;
}

.erating__price-label {
  font-weight: 600;
  color: #a0aec0;
}

@media (max-width: 768px) {
  .erating {
    grid-template-columns: 1fr;
  }

  .erating__main {
    gap: 1rem;
  }

  .erating__big-star {
    width: 40px;
    height: 40px;
  }

  .erating__avg {
    font-size: 2rem;
  }

  .erating__value {
    font-size: 2rem;
  }

  .erating__card--availability .erating__value {
    font-size: 0.875rem;
  }
}
