@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.ccr-photos{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.ccr-photos img{border-radius:8px;height:80px;object-fit:cover;width:80px}
.ccr {
  --ccr-primary: #173f5f;
  --ccr-secondary: #f4f1ea;
  --ccr-star: #e0a72f;
  --ccr-button: #d05a3b;
  --ccr-text: #19232d;
  color: var(--ccr-text);
  font-family: 'Plus Jakarta Sans', inherit;
  max-width: 960px;
  margin: 48px auto;
  line-height: 1.55;
}
.ccr-heading,
.ccr-form-head,
.ccr-toolbar,
.ccr-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ccr-kicker {
  color: var(--ccr-button);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ccr h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 7px 0;
}
.ccr h3 {
  font-size: 28px;
  margin: 5px 0;
}
.ccr-subtitle {
  margin: 0;
  color: #65717a;
}
.ccr-button {
  background: var(--ccr-button);
  border: 0;
  border-radius: var(--ccr-radius);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 13px 20px;
}
.ccr-summary {
  background: var(--ccr-secondary);
  border-radius: var(--ccr-radius);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin: 28px 0;
  padding: 30px;
}
.ccr-score strong {
  font-size: 54px;
  line-height: 1;
}
.ccr-score span {
  font-size: 18px;
}
.ccr-stars {
  color: var(--ccr-star);
  letter-spacing: 2px;
  font-size: 18px;
}
.ccr-score small {
  display: block;
  margin-top: 8px;
  color: #65717a;
}
.ccr-bars {
  display: grid;
  gap: 8px;
}
.ccr-rating-filter {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: 64px 1fr 30px;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.ccr-rating-filter i {
  background: #fff;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}
.ccr-rating-filter b {
  background: var(--ccr-star);
  display: block;
  height: 100%;
}
.ccr-rating-filter em {
  font-style: normal;
  color: #65717a;
}
.ccr-rating-filter.active span,
.ccr-rating-filter:hover span {
  color: var(--ccr-button);
  font-weight: 700;
}
.ccr-form {
  background: #fff;
  border: 1px solid #dbe0e2;
  border-radius: var(--ccr-radius);
  box-shadow: 0 16px 35px #173f5f14;
  margin: 26px 0;
  padding: 28px;
}
.ccr-form label {
  display: block;
  font-weight: 700;
  margin: 17px 0;
}
.ccr-form label span {
  color: #65717a;
  font-size: 12px;
  font-weight: 400;
}
.ccr-form input:not([type="checkbox"]):not([type="file"]),
.ccr-form textarea {
  border: 1px solid #ccd4d8;
  border-radius: var(--ccr-radius);
  box-sizing: border-box;
  display: block;
  font: inherit;
  margin-top: 7px;
  padding: 11px;
  width: 100%;
}
.ccr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ccr-stars-input {
  display: flex;
  gap: 4px;
  margin: 16px 0;
}
.ccr-stars-input button {
  background: none;
  border: 0;
  color: #cbd1d2;
  cursor: pointer;
  font-size: 30px;
  padding: 0;
}
.ccr-stars-input button.selected,
.ccr-stars-input button.hovered {
  color: var(--ccr-star);
}
.ccr-check {
  font-size: 14px !important;
}
.ccr-message {
  display: inline-block;
  margin: 0 0 0 15px;
}
.ccr-message.error {
  color: #b3261e;
}
.ccr-close-form {
  background: none;
  border: 0;
  color: #65717a;
  cursor: pointer;
  font-size: 28px;
}
.ccr-toolbar {
  border-bottom: 1px solid #dbe0e2;
  border-top: 1px solid #dbe0e2;
  margin-top: 30px;
  padding: 16px 0;
}
.ccr-toolbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ccr-sort {
  border: 1px solid #ccd4d8;
  border-radius: var(--ccr-radius);
  padding: 8px;
}
.ccr-toggle {
  font-size: 13px;
}
.ccr-review {
  border-bottom: 1px solid #dbe0e2;
  padding: 26px 0;
}
.ccr-avatar {
  align-items: center;
  background: var(--ccr-primary);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.ccr-review-top {
  justify-content: flex-start;
}
.ccr-review-top time {
  color: #65717a;
  font-size: 13px;
  margin-left: auto;
}
.ccr-review p {
  margin: 16px 0 10px;
}
.ccr-verified-badge {
  color: #287a55;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}
.ccr-helpful {
  background: none;
  border: 0;
  color: #65717a;
  cursor: pointer;
  padding: 0;
}
.ccr-helpful.voted {
  color: var(--ccr-button);
  font-weight: 700;
}
.ccr-empty {
  padding: 35px 0;
}
.ccr-pagination {
  cursor: pointer;
  font-size: 13px;
  padding-top: 20px;
}
.ccr.is-loading {
  background: #fff1eb;
  border-color: var(--ccr-button);
  font-weight: 700;
  opacity: 0.55;
  pointer-events: none;
}

/* Review section visual treatment */
.ccr-review-top {
  justify-content: flex-start;
}
.ccr-review-top time {
  color: #65717a;
  font-size: 13px;
  margin-left: auto;
}
.ccr-review p {
  margin: 16px 0 10px;
}
.ccr-comment-toggle {
  background: #f9f8f6;
  border: 1px solid var(--ccr-border);
  border-radius: 20px;
  color: #676778;
  cursor: pointer;
  padding: 6px 14px;
}
.ccr-comment-toggle:hover,
.ccr-comment-toggle[aria-expanded="true"] {
  border-color: var(--ccr-button);
  color: var(--ccr-button);
}
.ccr-helpful-message {
  color: #16824b;
  font-size: 12px;
}
.ccr-comment-box {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.ccr-comment-box input {
  border: 1px solid var(--ccr-border);
  border-radius: 8px;
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
}
.ccr-comment-submit {
  background: var(--ccr-button);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 9px 16px;
}
.ccr-comments {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.ccr-comment-item {
  background: #f9f8f6;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  padding: 10px 14px;
}
.ccr-comment-item strong {
  color: #1e1e24;
  display: block;
  margin-bottom: 2px;
.ccr {
  --ccr-border: #e5e5eb;
  background: #fff;
  border: 1px solid var(--ccr-border);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  max-width: 950px;
  padding: 35px;
}
.ccr-heading {
  align-items: flex-end;
  margin-bottom: 30px;
}
.ccr-kicker {
  color: var(--ccr-button);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.ccr h2 {
  color: #1e1e24;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 6px 0;
}
.ccr-subtitle {
  color: #676778;
  font-size: 14px;
}
.ccr-button {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(200, 90, 50, 0.25);
  padding: 12px 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ccr-button span {
  font-size: 17px;
  line-height: 0;
  vertical-align: -1px;
}
.ccr-button:hover {
  background: #a84723;
  transform: translateY(-2px);
}
.ccr-summary {
  background: #f9f8f6;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  grid-template-columns: 260px 1fr;
  margin-bottom: 35px;
  padding: 30px;
}
.ccr-score {
  border-right: 1px solid var(--ccr-border);
  padding-right: 30px;
  text-align: center;
}
.ccr-score strong {
  color: #1e1e24;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}
.ccr-score > div:first-child {
  align-items: baseline;
  display: flex;
  justify-content: center;
}
.ccr-score span {
  color: #0284c7;
  font-size: 18px;
}
.ccr-score small,
.ccr-rating-filter em {
  color: #676778;
}
.ccr-rating-filter {
  color: #1e1e24;
  font-size: 14px;
  font-weight: 600;
}
.ccr-rating-filter i {
  background: #e2e8f0;
}
.ccr-form {
  border: 1.5px solid var(--ccr-button);
  border-radius: 16px;
  margin-bottom: 35px;
}
.ccr-toolbar {
  border-bottom-color: var(--ccr-border);
  border-top: 0;
  margin-top: 0;
}
.ccr-sort {
  border-color: var(--ccr-border);
  border-radius: 8px;
  padding: 8px 16px;
}
.ccr-review {
  background: #fff;
  border: 1px solid var(--ccr-border);
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 24px;
}
.ccr-review:last-child {
  margin-bottom: 0;
}
.ccr-review p {
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}
.ccr-verified-badge {
  background: #e0f2fe;
  border-radius: 20px;
  color: #0284c7;
  padding: 2px 8px;
}
.ccr-helpful {
  background: #f9f8f6;
  border: 1px solid var(--ccr-border);
  border-radius: 20px;
  padding: 6px 14px;
}
.ccr-pagination {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.ccr-page-buttons {
  display: flex;
  gap: 6px;
}
.ccr-page {
  background: #fff;
  border: 1px solid var(--ccr-border);
  border-radius: 8px;
  color: #676778;
  cursor: pointer;
  min-height: 34px;
  min-width: 34px;
  padding: 5px 10px;
}
.ccr-page:hover,
.ccr-page.active {
  background: var(--ccr-button);
  border-color: var(--ccr-button);
  color: #fff;
}
.ccr-page:disabled {
  cursor: default;
  opacity: 0.45;
}
@media (max-width: 650px) {
  .ccr {
    margin: 30px 16px;
    padding: 24px 18px;
  }
  .ccr-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .ccr-summary {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
  .ccr-score {
    border-bottom: 1px solid var(--ccr-border);
    border-right: 0;
    padding: 0 0 20px;
  }
  .ccr-grid {
    grid-template-columns: 1fr;
  }
  .ccr-toolbar,
  .ccr-toolbar > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .ccr-review-top time {
    font-size: 11px;
  }
  .ccr-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final sizing for the supplied design inside WooCommerce tabs. */
.ccr {
  box-sizing: border-box;
  max-width: 950px;
  padding: 35px;
}
.ccr-heading {
  align-items: flex-end;
  margin-bottom: 30px;
}
.ccr-summary {
  box-sizing: border-box;
  gap: 30px;
  grid-template-columns: 260px 1fr;
  margin-bottom: 35px;
  padding: 30px;
}
.ccr-score {
  align-items: center;
  border-right: 1px solid var(--ccr-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 152px;
  padding-right: 30px;
}
.ccr-score strong {
  font-size: 56px;
  font-weight: 800;
}
.ccr-rating-filter {
  min-height: 18px;
}
.ccr-list {
  padding-top: 25px;
}
@media (max-width: 650px) {
  .ccr {
    padding: 24px 18px;
  }
  .ccr-summary {
    gap: 22px;
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .ccr-score {
    border-bottom: 1px solid var(--ccr-border);
    border-right: 0;
    padding: 0 0 20px;
  }
}
