.cx-pub-biz-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.cx-pub-biz-stars {
  --rating: 0;
  --star-size: 23px;
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: var(--star-size);
  letter-spacing: 0.08rem;
  color: rgba(148, 163, 184, 0.45);
}

.cx-pub-biz-stars::after {
  content: '★★★★★';
  position: absolute;
  left: 0;
  top: 0;
  width: calc((var(--rating) / 5) * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #f59e0b;
}

.cx-pub-biz-stars i {
  opacity: 0;
}

.cx-pub-biz-stars--exact {
  letter-spacing: 0.04rem;
}

.cx-pub-biz-stars--exact::after {
  content: none;
}

.cx-pub-biz-stars--exact i {
  opacity: 1;
  font-size: 23px;
  line-height: 1;
  width: 23px;
  text-align: center;
}

.cx-pub-biz-stars--exact .fa-solid {
  color: #f59e0b;
}

.cx-pub-biz-stars--exact .fa-regular {
  color: rgba(148, 163, 184, 0.7);
}

.cx-pub-reviews-section {
  margin-top: 1.2rem;
  padding: 1rem;
  border: none;
  border-radius: 1rem;
  background: var(--surface-color, #fff);
}

.cx-pub-reviews-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 5;
}

.cx-pub-reviews-section__title {
  margin: 0;
  font-size: 1.18rem;
}

.cx-pub-reviews-section__sub {
  margin: 0.15rem 0 0;
  color: var(--secondary-text-color, #64748b);
  font-size: 0.92rem;
}

.cx-pub-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.cx-pub-review-row {

  border-radius: 0.8rem;
  padding: 0.75rem;
  background: color-mix(in srgb, var(--surface-color, #fff) 94%, #c8cdd3 6%);
}

.cx-pub-review-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.cx-pub-review-row__user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cx-pub-review-row__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.2);
}

.cx-pub-review-row__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.cx-pub-review-row__date {
  margin: 0;
  font-size: 0.78rem;
  color: var(--secondary-text-color, #64748b);
}

.cx-pub-review-row__comment {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cx-pub-reviews-empty {
  border: 1px dashed var(--border-color, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  margin: 0.5rem 0 0.8rem;
  position: relative;
  z-index: 5;
}

.cx-pub-reviews-add-btn {
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  border: 1px solid var(--border-color, rgba(15, 23, 42, 0.18));
  color: var(--text-color, #0f172a);
}

.cx-pub-reviews-add-btn:hover,
.cx-pub-reviews-add-btn:focus-visible {
  border-color: color-mix(in srgb, var(--electric-lime, #06c506) 45%, var(--border-color, #cbd5e1));
  color: var(--text-color, #0f172a);
  background: color-mix(in srgb, var(--surface-color, #fff) 88%, var(--electric-lime, #06c506) 12%);
}

.cx-pub-reviews-add-btn i {
  color: inherit;
}

html[data-theme="dark"] .cx-pub-reviews-section {
  background: var(--surface-color, #1e293b);
}

html[data-theme="dark"] .cx-pub-reviews-section__title {
  color: var(--text-color, #f1f5f9);
}

html[data-theme="dark"] .cx-pub-reviews-add-btn {
  border-color: rgba(226, 232, 240, 0.35);
  color: var(--text-color, #f1f5f9);
}

html[data-theme="dark"] .cx-pub-reviews-add-btn:hover,
html[data-theme="dark"] .cx-pub-reviews-add-btn:focus-visible {
  border-color: rgba(var(--electric-lime-rgb, 6, 197, 6), 0.45);
  color: var(--text-color, #f8fafc);
  background: rgba(var(--electric-lime-rgb, 6, 197, 6), 0.12);
}

html[data-theme="dark"] .cx-pub-reviews-empty {
  color: var(--text-color, #e2e8f0);
}

.cx-pub-biz-btn--ghost {
  background: transparent;
  border: 1px solid var(--border-color, rgba(15, 23, 42, 0.18));
  color: var(--text-color, #0f172a);
}

.cx-pub-biz-btn--ghost:hover,
.cx-pub-biz-btn--ghost:focus-visible {
  border-color: color-mix(in srgb, var(--electric-lime, #06c506) 45%, var(--border-color, #cbd5e1));
  background: color-mix(in srgb, var(--surface-color, #fff) 88%, var(--electric-lime, #06c506) 12%);
}

html[data-theme="dark"] .cx-pub-biz-btn--ghost {
  border-color: rgba(226, 232, 240, 0.35);
  color: var(--text-color, #f1f5f9);
}

html[data-theme="dark"] .cx-pub-biz-btn--ghost:hover,
html[data-theme="dark"] .cx-pub-biz-btn--ghost:focus-visible {
  border-color: rgba(var(--electric-lime-rgb, 6, 197, 6), 0.45);
  background: rgba(var(--electric-lime-rgb, 6, 197, 6), 0.12);
  color: var(--text-color, #f8fafc);
}

.cx-pub-reviews-add-btn.is-disabled {
  opacity: 0.7;
}

.cx-pub-reviews-empty .cx-pub-reviews-add-btn i {
  margin-right: 0.3rem;
}

.cx-pub-biz-rating-inline__text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-color, #0f172a);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cx-pub-biz-rating-inline__text i {
  color: #f59e0b;
  font-size: 0.75rem;
}

.cx-pub-exclusive-section {
  margin-top: 1.2rem;
  border: none;
  border-radius: 1rem;
  padding: 0.25rem 0;
  background: transparent;
}

.cx-pub-exclusive-section__head {
  margin-bottom: 0.75rem;
}

.cx-pub-exclusive-section__title {
  margin: 0;
  font-size: 1.12rem;
}

.cx-pub-exclusive-section__sub {
  margin: 0.15rem 0 0;
  color: var(--secondary-text-color, #64748b);
  font-size: 0.9rem;
}

.cx-pub-exclusive-section__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.cx-pub-exclusive-section__track-wrap {
  overflow: visible;
}

.cx-pub-exclusive-section__track {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.cx-pub-exclusive-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(86vw, 380px);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 0.8rem;
  overflow: hidden;
  background: var(--surface-color, #fff);
  transform: translateX(-50%) scale(0.86);
  opacity: 0.35;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.cx-pub-exclusive-card.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.cx-pub-exclusive-card.is-prev {
  transform: translateX(calc(-50% - 56%)) scale(0.84);
  opacity: 0.72;
  z-index: 2;
}

.cx-pub-exclusive-card.is-next {
  transform: translateX(calc(-50% + 56%)) scale(0.84);
  opacity: 0.72;
  z-index: 2;
}

.cx-pub-exclusive-card.is-hidden-left {
  transform: translateX(calc(-50% - 125%)) scale(0.76);
  opacity: 0;
}

.cx-pub-exclusive-card.is-hidden-right {
  transform: translateX(calc(-50% + 125%)) scale(0.76);
  opacity: 0;
}

.cx-pub-exclusive-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cx-pub-exclusive-card__media {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}

.cx-pub-exclusive-card__body {
  padding: 0.6rem 0.7rem 0.75rem;
}

.cx-pub-exclusive-card__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.cx-pub-exclusive-card__desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--secondary-text-color, #64748b);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cx-pub-exclusive-section__arrow {
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  background: var(--surface-color, #fff);
  color: var(--text-color, #0f172a);
  cursor: pointer;
}

.cx-pub-exclusive-section__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .cx-pub-exclusive-section__track {
    min-height: 245px;
  }
  .cx-pub-exclusive-card {
    width: min(88vw, 320px);
  }
  .cx-pub-exclusive-card.is-prev {
    transform: translateX(calc(-50% - 44%)) scale(0.82);
    opacity: 0.65;
  }
  .cx-pub-exclusive-card.is-next {
    transform: translateX(calc(-50% + 44%)) scale(0.82);
    opacity: 0.65;
  }
}

.cx-pub-review-modal[hidden] {
  display: none !important;
}

.cx-pub-review-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

html[data-theme="dark"] .cx-pub-review-modal {
  background: rgba(0, 0, 0, 0.92);
}

.cx-pub-review-modal__panel {
  width: min(92vw, 30rem);
  max-height: min(88vh, 42rem);
  overflow-y: auto;
  border-radius: 0.95rem;
  border: 1px solid var(--border-color, #e2e8f0);
  background: var(--surface-color, #fff);
  box-shadow: var(--cx-pub-popup-shadow, 0 0 20px rgba(15, 23, 42, 0.14));
  padding: 1rem;
}

html[data-theme='dark'] .cx-pub-review-modal__panel {
  background: #0a0a0a;
  border: 0;
  box-shadow: var(--cx-pub-popup-shadow, 0 0 20px rgba(0, 0, 0, 0.4));
}

.cx-pub-review-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.cx-pub-review-modal__close {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-color, #0f172a);
}

.cx-pub-review-form {
  display: grid;
  gap: 0.5rem;
}

.cx-pub-review-form .cx-pub-biz-btn {
  width: 100%;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 0.7rem;
}

.cx-pub-review-form .cx-pub-biz-btn--primary {
  color: #0f172a !important;
}

html[data-theme="dark"] .cx-pub-review-form .cx-pub-biz-btn--primary {
  color: #fff !important;
}

.cx-pub-review-form select,
.cx-pub-review-form textarea {
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--text-color, #0f172a);
  background: var(--surface-color, #fff);
}

.cx-pub-review-form__hint {
  margin: 0;
  color: var(--secondary-text-color, #64748b);
  font-size: 0.8rem;
}

.cx-pub-review-alert[hidden] {
  display: none !important;
}

.cx-pub-review-alert {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cx-pub-review-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

html[data-theme="dark"] .cx-pub-review-alert__backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.cx-pub-review-alert__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 26rem);
  border-radius: 0.9rem;
  padding: 1.25rem 1.15rem 1.05rem;
  background: #2f343d;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.cx-pub-review-alert__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff !important;
}

.cx-pub-review-alert__text {
  margin: 0 0 0.95rem;
  line-height: 1.4;
  font-size: 0.9rem;
  color: #fff !important;
}

.cx-pub-review-alert__btn {
  padding: 0.35rem 0.65rem;
  min-width: 84px;
  font-size: 0.82rem;
  border-radius: 0.55rem;
  background: rgba(148, 163, 184, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  color: #fff !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.cx-pub-review-alert__btn:hover,
.cx-pub-review-alert__btn:focus-visible {
  background: rgba(148, 163, 184, 0.42) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.cx-pub-review-alert__panel,
.cx-pub-review-alert__panel * {
  pointer-events: auto;
}
