@charset "UTF-8";
.bh-review-hub {
  margin-top: 32px;
  color: #121c1a;
  font-family: inherit;
}

.bh-review-hub__summary {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid #ebebeb;
  background: #fafafa;
  border-radius: 8px;
}

.bh-review-hub__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
}

.bh-review-hub__score-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #01584e;
}

.bh-review-stars-display {
  display: flex;
  gap: 6px;
  color: #f2b01e;
  margin: 12px 0;
}

.bh-review-stars-display--small {
  margin: 8px 0 0;
  font-size: 14px;
}

.bh-review-hub__meta {
  font-size: 14px;
  color: #5e5e5e;
}

.bh-review-hub__insight h4,
.bh-review-list__top h3,
.bh-review-add__intro h4,
.bh-review-card h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #121c1a;
}

.bh-review-hub__insight p,
.bh-review-list__top p,
.bh-review-add__intro p,
.bh-review-card__text {
  margin: 12px 0 0;
  color: #5e5e5e;
  line-height: 1.6;
}

.bh-review-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bh-review-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ebebeb;
  font-size: 13px;
  color: #5e5e5e;
  transition: all 0.3s ease;
}

.bh-review-chip:hover {
  border-color: #01584e;
  color: #01584e;
}

.bh-review-gallery {
  margin-top: 22px;
}

.bh-review-gallery__title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.bh-review-gallery__items,
.bh-review-card__gallery,
.bh-review-add__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bh-review-gallery__item,
.bh-review-card__gallery a,
.bh-review-add__preview-item {
  display: block;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ebebeb;
  background: #fff;
}

.bh-review-gallery__item img,
.bh-review-card__gallery img,
.bh-review-add__preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bh-review-list {
  margin-top: 32px;
}

.bh-review-list__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.bh-review-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-review-card {
  padding: 24px 0;
  border-top: 1px solid #ebebeb;
}

.bh-review-card__head,
.bh-review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bh-review-card__date,
.bh-review-card__footer {
  font-size: 14px;
  color: #5e5e5e;
}

.bh-review-card__footer {
  margin-top: 16px;
}

.bh-review-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 42px 24px;
  background: #fafafa;
  border: 1px dashed #ebebeb;
  font-size: 16px;
  color: #5e5e5e;
  border-radius: 8px;
}

.bh-review-empty i {
  font-size: 32px;
  color: #01584e;
}

.bh-review-add__toggle,
.bh-review-add__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: #01584e;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bh-review-add__toggle:hover,
.bh-review-add__submit:hover {
  color: #fff;
  background: #01423b;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(1, 88, 78, 0.25);
}

.bh-review-add__submit[disabled],
.bh-review-add__submit.is-submitting {
  opacity: 0.92;
  cursor: wait;
  pointer-events: none;
}

.bh-review-add__submit-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bh-review-spin 0.8s linear infinite;
}

.bh-review-add__submit.is-submitting .bh-review-add__submit-loader {
  display: inline-block;
}

.bh-review-add__submit.is-submitting .bh-review-add__submit-icon {
  display: none;
}

.bh-review-add__panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #ebebeb;
  background: #fafafa;
}

.bh-review-add__panel--modal {
  margin-top: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.bh-review-add__intro {
  padding: 24px 26px;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  background: #fafafa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bh-review-add__hint {
  margin: 10px 0 0;
  font-size: 14px;
  color: #5e5e5e;
}

.bh-review-add__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.bh-review-add__field--full {
  grid-column: 1/-1;
}

.bh-review-add__input,
.bh-review-add__textarea {
  width: 100%;
  border: 1px solid #ebebeb;
  background: #fff;
  padding: 14px 16px;
  color: #121c1a;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-size: 16px;
}

.bh-review-add__textarea {
  resize: vertical;
  min-height: 150px;
}

.bh-review-add__input:focus,
.bh-review-add__textarea:focus {
  outline: 0;
  border-color: rgba(1, 88, 78, 0.75);
  box-shadow: 0 0 0 4px rgba(1, 88, 78, 0.12);
  background: #fff;
}

.bh-review-add__label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #121c1a;
  font-size: 15px;
}

.bh-review-add__upload {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px dashed #ebebeb;
  border-radius: 12px;
  background: #fafafa;
}

.bh-review-add__upload-meta {
  font-size: 14px;
  color: #5e5e5e;
}

.bh-review-add__upload input[type=file] {
  width: 100%;
  color: #5e5e5e;
}

.bh-review-add__upload input[type=file]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 6px;
  background: #ebebeb;
  color: #121c1a;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bh-review-add__upload input[type=file]::file-selector-button:hover {
  background: #e2e2e2;
  transform: translateY(-1px);
}

.bh-review-add__visibility {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bh-review-add__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  background: #fff;
  color: #5e5e5e;
}

.bh-review-add__status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.bh-review-add__status.is-success {
  background: #edf8f0;
  color: #17653c;
  border: 1px solid #c3e6cb;
}

.bh-review-add__status.is-error {
  background: #fff1ef;
  color: #9f2d20;
  border: 1px solid #f5c6cb;
}

@keyframes bh-review-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bh-review-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.bh-review-modal .modal-dialog {
  max-width: 760px;
  margin: 4vh auto;
}

.bh-review-modal .modal-header {
  border-bottom: 1px solid #ebebeb;
  padding: 18px 24px;
  background: #fafafa;
}

.bh-review-modal .modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #121c1a;
}

.bh-review-modal .modal-body {
  padding: 24px;
  background: #fff;
}

.bh-review-modal .close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fafafa;
  opacity: 1;
  color: #5e5e5e;
  text-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bh-review-modal .close:hover {
  background: #ebebeb;
  color: #121c1a;
  transform: rotate(90deg);
}

.bh-review-stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  width: fit-content;
}

.bh-review-stars-input input {
  display: none;
}

.bh-review-stars-input label {
  cursor: pointer;
  font-size: 28px;
  color: #e0e0e0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bh-review-stars-input label:hover,
.bh-review-stars-input label:hover ~ label,
.bh-review-stars-input input:checked ~ label {
  color: #f2b01e;
}

.bh-review-stars-input label:hover {
  transform: translateY(-1px) scale(1.05);
}

/* _Template_Product_Detail.cshtml (Bootstrap tab yapısı) */
.product-detail-information .tab-pane .commbox {
  margin-top: 0;
  float: none;
}

.product-detail-information .tab-pane .commbox > .bh-review-hub {
  margin-top: 0;
}

/* Detail.cshtml (custom tab yapısı) */
#tab-product .product-tab .tab-layer {
  overflow: hidden;
}

#tab-product .product-tab .tab-layer .commbox {
  float: none;
}

#tab-product .product-tab .tab-layer .commbox > .bh-review-hub {
  margin-top: 0;
}

/* Bottom review section (tabs altında her zaman görünür) */
#review-bottom-section {
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

#review-bottom-section > .commbox {
  float: none;
  width: 100%;
}

#review-bottom-section .bh-review-hub {
  margin-top: 0;
}

/* Star/evaluation area clickable */
.evaluation {
  cursor: pointer;
}

@media (max-width: 991px) {
  .bh-review-hub__summary,
  .bh-review-add__grid {
    grid-template-columns: 1fr;
  }
  .bh-review-list__top {
    display: block;
  }
  .bh-review-list__action {
    margin-top: 16px;
  }
  .bh-review-modal .modal-dialog {
    margin: 16px;
  }
}
@media (max-width: 767px) {
  .bh-review-modal .modal-body,
  .bh-review-modal .modal-header {
    padding: 18px;
  }
  .bh-review-add__intro {
    padding: 18px;
    border-radius: 18px;
  }
  .bh-review-add__toggle,
  .bh-review-add__submit {
    width: 100%;
    justify-content: center;
  }
  .bh-review-add__visibility {
    gap: 12px;
  }
  .bh-review-add__option {
    width: 100%;
  }
  .bh-review-stars-input {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .bh-review-hub__summary,
  .bh-review-add__panel {
    padding: 18px;
  }
  .bh-review-hub__score-value {
    font-size: 38px;
  }
  .bh-review-gallery__item,
  .bh-review-card__gallery a,
  .bh-review-add__preview-item {
    width: 72px;
    height: 72px;
  }
}

/*# sourceMappingURL=product-reviews.css.map */
