.wcra-review-form-wrap {
 max-width: 1240px;
 margin: 0 auto;
 padding: 36px 20px 56px;
 color: #163047;
}

.wcra-review-form-wrap * {
 box-sizing: border-box;
}

.wcra-review-form-wrap--narrow {
 max-width: 760px;
}

.wcra-review-form-wrap a {
 color: #0f5e7a;
}

.wcra-review-form-wrap img {
 max-width: 100%;
 height: auto;
}

.wcra-review-form-message,
.wcra-review-form-success {
 border: 1px solid #dbe7f0;
 border-radius: 24px;
 background: #ffffff;
 box-shadow: 0 18px 48px rgba(18, 56, 82, 0.08);
 padding: 32px;
}

.wcra-review-form-success {
 text-align: center;
}

.wcra-review-form-success__icon {
 width: 68px;
 height: 68px;
 margin: 0 auto 18px;
 border-radius: 50%;
 background: linear-gradient(135deg, #0f5e7a 0%, #1387a6 100%);
 color: #ffffff;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 30px;
 font-weight: 800;
}

.wcra-review-form-success h2,
.wcra-review-form-message p {
 margin-top: 0;
}

.wcra-review-hero {
 display: grid;
 grid-template-columns: 1.08fr 0.92fr;
 gap: 24px;
 align-items: stretch;
 margin-bottom: 28px;
}

.wcra-review-hero__main,
.wcra-review-hero__aside,
.wcra-review-product-card,
.wcra-review-section,
.wcra-public-reviews {
 background: rgba(255, 255, 255, 0.96);
 border: 1px solid rgba(219, 231, 240, 0.95);
 border-radius: 28px;
 box-shadow: 0 18px 48px rgba(18, 56, 82, 0.08);
}

.wcra-review-hero__main,
.wcra-review-hero__aside {
 padding: 32px;
}

.wcra-review-hero__main {
 position: relative;
 overflow: hidden;
 background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.wcra-review-hero__main::after {
 content: "";
 position: absolute;
 right: -72px;
 top: -72px;
 width: 220px;
 height: 220px;
 border-radius: 50%;
 background: radial-gradient(circle, rgba(19, 135, 166, 0.18) 0%, rgba(19, 135, 166, 0) 70%);
}

.wcra-review-eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 8px 14px;
 border-radius: 999px;
 background: #eef8fb;
 color: #0f5e7a;
 font-size: 14px;
 font-weight: 700;
 margin-bottom: 16px;
}

.wcra-review-hero__main h2 {
 margin: 0 0 14px;
 font-size: 44px;
 line-height: 1.08;
 letter-spacing: -0.03em;
 color: #163047;
}

.wcra-review-hero__main p,
.wcra-review-hero__aside p {
 margin: 0;
 color: #617487;
 font-size: 17px;
 line-height: 1.7;
}

.wcra-review-pill-row,
.wcra-review-tag-row {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
}

.wcra-review-pill-row {
 margin-top: 24px;
}

.wcra-review-pill,
.wcra-review-tag {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 10px 14px;
 border-radius: 999px;
 border: 1px solid #dbe7f0;
 background: #ffffff;
 color: #2e4f67;
 font-size: 13px;
 font-weight: 700;
}

.wcra-review-hero__aside h3 {
 margin: 0 0 10px;
 font-size: 24px;
 line-height: 1.25;
}

.wcra-review-mini-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 12px;
 margin-top: 16px;
}

.wcra-review-mini-card {
 border: 1px solid #dbe7f0;
 background: #f8fbff;
 border-radius: 18px;
 padding: 16px;
}

.wcra-review-mini-card strong,
.wcra-review-helper strong,
.wcra-review-tips h4,
.wcra-review-submit-copy strong {
 display: block;
 color: #163047;
}

.wcra-review-mini-card strong {
 margin-bottom: 6px;
 font-size: 15px;
}

.wcra-review-mini-card span,
.wcra-review-helper span,
.wcra-review-tips p,
.wcra-review-submit-copy span {
 color: #617487;
 font-size: 14px;
 line-height: 1.6;
}

.wcra-review-form {
 display: grid;
 gap: 24px;
}

.wcra-review-product-card {
 display: grid;
 grid-template-columns: 410px minmax(0, 1fr);
 gap: 24px;
 padding: 24px;
}

.wcra-review-product-card__sidebar {
 display: grid;
 gap: 16px;
 align-content: start;
}

.wcra-review-product-top {
 display: flex;
 justify-content: space-between;
 gap: 10px;
 flex-wrap: wrap;
}

.wcra-review-badge {
 display: inline-flex;
 align-items: center;
 padding: 8px 12px;
 border-radius: 999px;
 background: #eaf8ee;
 color: #1e7a42;
 font-size: 13px;
 font-weight: 700;
}

.wcra-review-badge--soft {
 background: #fff7e8;
 color: #9a6b11;
}

.wcra-review-product-image {
 display: grid;
 place-items: center;
 min-height: 285px;
 padding: 22px;
 border-radius: 24px;
 border: 1px solid #edf2f7;
 background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.wcra-review-product-image img {
 width: 230px;
 max-width: 90%;
 display: block;
 filter: drop-shadow(0 16px 20px rgba(49, 60, 70, 0.08));
}

.wcra-review-product-card__sidebar h3 {
 margin: 0;
 font-size: 32px;
 line-height: 1.14;
 letter-spacing: -0.03em;
}

.wcra-review-product-desc {
 margin: 0;
 color: #617487;
 font-size: 15px;
 line-height: 1.65;
}

.wcra-review-product-meta {
 display: grid;
 gap: 10px;
}

.wcra-review-product-meta-row {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 13px 14px;
 border-radius: 14px;
 background: #f8fbfe;
 border: 1px solid #dbe7f0;
 font-size: 14px;
}

.wcra-review-product-meta-row span:first-child {
 color: #617487;
 font-weight: 600;
}

.wcra-review-product-meta-row span:last-child {
 text-align: right;
 font-weight: 700;
}

.wcra-review-tips {
 padding: 18px 18px 20px;
 border-radius: 20px;
 background: linear-gradient(180deg, #fffefc 0%, #ffffff 100%);
 border: 1px solid #edf2f7;
}

.wcra-review-tips h4 {
 margin: 0 0 8px;
 font-size: 18px;
}

.wcra-review-tips p {
 margin: 0 0 14px;
}

.wcra-review-product-card__content {
 display: grid;
 gap: 20px;
}

.wcra-review-section {
 padding: 28px;
}

.wcra-review-section__head {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 20px;
}

.wcra-review-section__head h4 {
 margin: 0 0 6px;
 font-size: 24px;
 line-height: 1.24;
 color: #163047;
}

.wcra-review-section__head p {
 margin: 0;
 color: #617487;
 font-size: 15px;
 line-height: 1.6;
 max-width: 640px;
}

.wcra-review-step {
 flex: 0 0 auto;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: #eef8fb;
 color: #0f5e7a;
 font-weight: 800;
}

.wcra-rating-grid {
 display: grid;
 grid-template-columns: repeat(5, minmax(0, 1fr));
 gap: 12px;
}

.wcra-rating-card {
 position: relative;
 display: block;
 padding: 16px 12px;
 border: 1px solid #dbe7f0;
 background: #f8fbff;
 border-radius: 18px;
 text-align: center;
 cursor: pointer;
 transition: 0.2s ease;
}

.wcra-rating-card:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 22px rgba(19, 135, 166, 0.10);
}

.wcra-rating-card input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.wcra-rating-card.is-active,
.wcra-rating-card:has(input:checked) {
 border-color: rgba(19, 135, 166, 0.45);
 background: linear-gradient(180deg, #f3fbfd 0%, #ffffff 100%);
 box-shadow: 0 10px 22px rgba(19, 135, 166, 0.10);
}

.wcra-stars {
 color: #e0a100;
 font-size: 18px;
 letter-spacing: 2px;
}

.wcra-rating-card .wcra-stars {
 display: block;
 margin-bottom: 10px;
 font-size: 20px;
}

.wcra-rating-card strong {
 display: block;
 margin-bottom: 4px;
 color: #163047;
 font-size: 15px;
}

.wcra-rating-card span:last-child {
 color: #617487;
 font-size: 13px;
 line-height: 1.45;
}

.wcra-review-textarea,
.wcra-review-field input {
 width: 100%;
 border: 1px solid #dbe7f0;
 border-radius: 18px;
 background: #fbfdff;
 color: #24465f;
 font-size: 16px;
}

.wcra-review-textarea {
 min-height: 180px;
 padding: 18px;
 resize: vertical;
}

.wcra-review-textarea::placeholder,
.wcra-review-field input::placeholder {
 color: #7d92a5;
}

.wcra-review-helper-grid,
.wcra-review-two-col {
 display: grid;
 gap: 16px;
}

.wcra-review-helper-grid {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 margin-top: 18px;
}

.wcra-review-helper {
 border: 1px solid #dbe7f0;
 background: #f8fbff;
 border-radius: 18px;
 padding: 16px;
}

.wcra-review-helper strong {
 margin-bottom: 7px;
 font-size: 15px;
}

.wcra-review-two-col {
 grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wcra-review-field {
 display: block;
}

.wcra-review-field span {
 display: block;
 margin-bottom: 8px;
 color: #26445a;
 font-size: 14px;
 font-weight: 700;
}

.wcra-review-field input {
 padding: 15px 16px;
}

.wcra-review-consent {
 position: relative;
 display: flex;
 align-items: flex-start;
 gap: 14px;
 margin-top: 18px;
 padding: 16px 18px;
 border-radius: 18px;
 border: 1px solid #dbe7f0;
 background: linear-gradient(180deg, #fcfeff 0%, #f4f9fc 100%);
 cursor: pointer;
}

.wcra-review-consent input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.wcra-review-consent__box {
 width: 24px;
 height: 24px;
 flex: 0 0 24px;
 border-radius: 8px;
 border: 1px solid #b8d0df;
 background: #ffffff;
 margin-top: 1px;
 position: relative;
}

.wcra-review-consent input:checked + .wcra-review-consent__box {
 background: #0f5e7a;
 border-color: #0f5e7a;
}

.wcra-review-consent input:checked + .wcra-review-consent__box::after {
 content: "✓";
 position: absolute;
 inset: 0;
 color: #ffffff;
 font-size: 15px;
 font-weight: 800;
 display: flex;
 align-items: center;
 justify-content: center;
}

.wcra-review-consent__text strong {
 display: block;
 margin-bottom: 2px;
 color: #163047;
 font-size: 15px;
}

.wcra-review-consent__text span {
 display: block;
 color: #617487;
 font-size: 13px;
 line-height: 1.55;
}

.wcra-review-upload {
 position: relative;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
 margin-top: 18px;
 padding: 18px;
 border: 1px solid #dbe7f0;
 border-radius: 18px;
 background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
 cursor: pointer;
}

.wcra-review-upload input {
 position: absolute;
 inset: 0;
 opacity: 0;
 cursor: pointer;
}

.wcra-review-upload__copy strong {
 display: block;
 margin-bottom: 6px;
 color: #163047;
 font-size: 16px;
}

.wcra-review-upload__copy span {
 display: block;
 color: #617487;
 font-size: 14px;
 line-height: 1.55;
}

.wcra-review-upload__button {
 flex: 0 0 auto;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 14px 18px;
 border-radius: 14px;
 background: #eef8fb;
 color: #0f5e7a;
 font-size: 14px;
 font-weight: 800;
 text-align: center;
}

.wcra-review-submit-wrap {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
 padding: 20px 24px;
 border-radius: 24px;
 background: linear-gradient(135deg, #0f5e7a 0%, #1387a6 100%);
 box-shadow: 0 24px 40px rgba(15, 94, 122, 0.25);
}

.wcra-review-submit-copy strong {
 margin-bottom: 5px;
 color: #ffffff;
 font-size: 18px;
}

.wcra-review-submit-copy span {
 display: block;
 max-width: 580px;
 color: rgba(255, 255, 255, 0.82);
}

.wcra-review-submit-btn {
 flex: 0 0 auto;
 min-width: 250px;
 border: 0;
 border-radius: 16px;
 padding: 18px 26px;
 background: #ffffff;
 color: #0f5e7a;
 font-size: 15px;
 font-weight: 900;
 letter-spacing: 0.03em;
 text-transform: uppercase;
 box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.wcra-public-reviews {
 margin-top: 32px;
 padding: 24px;
 background: #ffffff;
}

.wcra-public-reviews__header {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
 flex-wrap: wrap;
 margin-bottom: 18px;
}

.wcra-public-reviews__summary {
 display: flex;
 gap: 12px;
 align-items: center;
 flex-wrap: wrap;
}

.wcra-public-review {
 padding: 18px 0;
 border-top: 1px solid #edf2f7;
}

.wcra-public-review:first-of-type {
 border-top: 0;
}

.wcra-public-review__meta {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: flex-start;
 flex-wrap: wrap;
}

.wcra-public-review__badge,
.wcra-public-review__source {
 display: inline-block;
 margin-top: 8px;
 padding: 6px 10px;
 border-radius: 999px;
 background: #eef6ff;
 color: #2457a6;
 font-size: 12px;
 font-weight: 600;
}

.wcra-public-review__reply {
 margin-top: 12px;
 padding: 12px 14px;
 border-radius: 12px;
 background: #f8fafc;
}

@media (max-width: 1120px) {
 .wcra-review-hero,
 .wcra-review-product-card {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 900px) {
 .wcra-rating-grid {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 }

 .wcra-review-submit-wrap,
 .wcra-review-upload,
 .wcra-review-section__head {
 flex-direction: column;
 align-items: stretch;
 }

 .wcra-review-submit-btn {
 width: 100%;
 min-width: 0;
 }
}

@media (max-width: 767px) {
 .wcra-review-form-wrap {
 padding: 20px 12px 40px;
 }

 .wcra-review-hero__main,
 .wcra-review-hero__aside,
 .wcra-review-product-card,
 .wcra-review-section,
 .wcra-public-reviews,
 .wcra-review-form-message,
 .wcra-review-form-success {
 padding: 20px;
 border-radius: 22px;
 }

 .wcra-review-hero__main h2 {
 font-size: 34px;
 }

 .wcra-review-mini-grid,
 .wcra-review-helper-grid,
 .wcra-review-two-col,
 .wcra-rating-grid {
 grid-template-columns: 1fr;
 }

 .wcra-review-product-image {
 min-height: 220px;
 }

 .wcra-review-product-image img {
 width: 180px;
 }

 .wcra-review-product-card__sidebar h3 {
 font-size: 28px;
 }
}


/* Configurable review display */
.wcra-card-review-summary {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 margin: 4px 0 6px;
 font-size: 13px;
 line-height: 1.2;
 color: #374151;
}
.wcra-card-review-summary .wcra-stars {
 color: #f59e0b;
 letter-spacing: .5px;
}
.wcra-card-average {
 font-weight: 700;
}
.wcra-card-count {
 color: #6b7280;
}
.wcra-shortcode-review-grid {
 display: grid;
 gap: 16px;
}
.wcra-public-reviews--cols-1 .wcra-shortcode-review-grid { grid-template-columns: 1fr; }
.wcra-public-reviews--cols-2 .wcra-shortcode-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wcra-public-reviews--cols-3 .wcra-shortcode-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcra-public-reviews--cols-4 .wcra-shortcode-review-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wcra-public-reviews--shortcode .wcra-public-review {
 height: 100%;
}
@media (max-width: 900px) {
 .wcra-public-reviews--cols-2 .wcra-shortcode-review-grid,
 .wcra-public-reviews--cols-3 .wcra-shortcode-review-grid,
 .wcra-public-reviews--cols-4 .wcra-shortcode-review-grid { grid-template-columns: 1fr; }
}

/* WCRA 0.2.6 — Top single-product rating badge */
.wcra-top-rating-badge {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 flex-wrap: wrap;
 margin: 10px 0 22px;
 line-height: 1.2;
 font-family: inherit;
}

.wcra-top-rating-badge__stars {
 display: inline-flex;
 align-items: center;
 color: #ffb000;
 font-size: clamp(20px, 2.1vw, 28px);
 letter-spacing: 1px;
 line-height: 1;
 text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.wcra-top-rating-badge__count {
 display: inline-flex;
 align-items: center;
 color: #0f7790;
 font-size: clamp(14px, 1.3vw, 18px);
 font-weight: 800;
 text-decoration: underline;
 text-underline-offset: 3px;
 white-space: nowrap;
}

.wcra-top-rating-badge__count:hover,
.wcra-top-rating-badge__count:focus {
 color: #09586b;
 text-decoration-thickness: 2px;
}

.wcra-top-rating-badge__quality {
 display: inline-flex;
 align-items: center;
 min-height: 34px;
 padding: 7px 14px;
 border: 1.5px solid #53d3a4;
 border-radius: 999px;
 color: #229969;
 background: rgba(255, 255, 255, 0.92);
 font-size: clamp(13px, 1.1vw, 16px);
 font-weight: 800;
 white-space: nowrap;
}

.wcra-top-rating-fallback[hidden] {
 display: none !important;
}

@media (max-width: 767px) {
 .wcra-top-rating-badge {
 gap: 8px;
 margin: 8px 0 18px;
 }

 .wcra-top-rating-badge__stars {
 font-size: 21px;
 }

 .wcra-top-rating-badge__count,
 .wcra-top-rating-badge__quality {
 font-size: 14px;
 }

 .wcra-top-rating-badge__quality {
 min-height: 31px;
 padding: 6px 12px;
 }
}


/* WCRA 0.2.8 — All reviews shortcode wall */
.wcra-shortcode-wall {
 max-width: 1360px;
 margin: 44px auto;
 padding: clamp(28px, 4vw, 54px);
 border: 0;
 border-radius: 0;
 box-shadow: none;
 background: #f5f7fb;
 color: #1c2535;
}

.wcra-shortcode-wall * {
 box-sizing: border-box;
}

.wcra-shortcode-wall {
 width: 100%;
 overflow: hidden;
 container-type: inline-size;
}

.wcra-shortcode-wall,
.wcra-shortcode-wall h2,
.wcra-shortcode-wall h3,
.wcra-shortcode-wall p,
.wcra-shortcode-wall span,
.wcra-shortcode-wall div {
 word-break: normal !important;
 overflow-wrap: normal !important;
 hyphens: none !important;
}

.wcra-shortcode-wall__header {
 display: grid;
 grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
 gap: 28px;
 align-items: end;
 margin-bottom: 34px;
}

.wcra-shortcode-wall__eyebrow {
 display: block;
 margin-bottom: 14px;
 color: #0c9db3;
 font-size: 13px;
 font-weight: 900;
 letter-spacing: 0.22em;
 text-transform: uppercase;
}

.wcra-shortcode-wall__intro h2 {
 max-width: 920px;
 margin: 0 0 18px;
 color: #172033;
 font-size: clamp(30px, 3.6vw, 48px);
 line-height: 1.08;
 letter-spacing: -0.04em;
}

.wcra-shortcode-wall__rating-line {
 display: flex;
 align-items: center;
 gap: 12px;
 flex-wrap: wrap;
 color: #505967;
 font-size: clamp(15px, 1.4vw, 19px);
}

.wcra-shortcode-wall .wcra-stars {
 color: #ffb000;
 letter-spacing: 1px;
 line-height: 1;
}

.wcra-shortcode-wall .wcra-stars--large {
 font-size: clamp(22px, 2.4vw, 31px);
 letter-spacing: 2px;
}

.wcra-shortcode-wall__distribution {
 display: grid;
 gap: 8px;
 padding: 18px 20px;
 border: 1px solid rgba(219, 225, 234, 0.9);
 border-radius: 22px;
 background: rgba(255, 255, 255, 0.76);
}

.wcra-rating-row {
 display: grid;
 grid-template-columns: 38px minmax(0, 1fr) 42px;
 gap: 10px;
 align-items: center;
 color: #677180;
 font-size: 13px;
 font-weight: 800;
}

.wcra-rating-row__bar {
 height: 8px;
 overflow: hidden;
 border-radius: 999px;
 background: #e6ebf2;
}

.wcra-rating-row__bar i {
 display: block;
 height: 100%;
 border-radius: inherit;
 background: linear-gradient(90deg, #ffb000 0%, #ffc247 100%);
}

.wcra-shortcode-review-grid--wall {
 gap: clamp(20px, 2vw, 30px);
}

.wcra-public-reviews--cols-1 .wcra-shortcode-review-grid--wall { grid-template-columns: 1fr; }
.wcra-public-reviews--cols-2 .wcra-shortcode-review-grid--wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wcra-public-reviews--cols-3 .wcra-shortcode-review-grid--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wcra-shortcode-card {
 display: grid;
 grid-template-columns: 84px minmax(0, 1fr);
 gap: 18px;
 min-height: 250px;
 padding: clamp(22px, 2.4vw, 34px);
 border: 1px solid #edf0f5;
 border-radius: 18px;
 background: #ffffff;
 box-shadow: 0 16px 36px rgba(30, 44, 66, 0.045);
}

.wcra-shortcode-card__image {
 display: flex;
 align-items: center;
 justify-content: center;
 align-self: center;
 min-height: 132px;
}

.wcra-shortcode-card__image img {
 display: block;
 max-width: 74px;
 max-height: 104px;
 object-fit: contain;
 filter: drop-shadow(0 12px 14px rgba(45, 55, 72, 0.10));
}

.wcra-shortcode-card__image-placeholder {
 display: grid;
 place-items: center;
 width: 58px;
 height: 58px;
 border-radius: 50%;
 background: #fff7e5;
 color: #ffb000;
}

.wcra-shortcode-card__body {
 min-width: 0;
}

.wcra-shortcode-card__top {
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: flex-start;
 margin-bottom: 18px;
}

.wcra-shortcode-card__top time {
 color: #a4acb7;
 font-size: 14px;
 font-weight: 700;
 white-space: nowrap;
}

.wcra-shortcode-card h3 {
 margin: 0 0 14px;
 color: #09956f;
 font-size: clamp(18px, 1.7vw, 23px);
 line-height: 1.35;
 font-weight: 900;
}

.wcra-shortcode-card__text {
 color: #4e5968;
 font-size: 16px;
 line-height: 1.75;
}

.wcra-shortcode-card__text p {
 margin: 0 0 12px;
}

.wcra-shortcode-card__author {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
 margin-top: 18px;
 color: #253044;
 font-size: 15px;
}

.wcra-shortcode-card__author strong {
 font-weight: 900;
}

.wcra-verified-buyer {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 color: #159a4a;
 font-size: 12px;
 font-weight: 900;
 letter-spacing: 0.04em;
 text-transform: uppercase;
}

.wcra-shortcode-card__pet,
.wcra-shortcode-card__product {
 margin-top: 8px;
 color: #98a1ad;
 font-size: 15px;
 line-height: 1.5;
}

.wcra-shortcode-card__pet {
 color: #718096;
 font-weight: 700;
}

.wcra-shortcode-card .wcra-public-review__reply {
 margin-top: 16px;
 border-left: 3px solid #0c9db3;
}

@media (max-width: 1024px) {
 .wcra-shortcode-wall__header {
 grid-template-columns: 1fr;
 align-items: start;
 }

 .wcra-public-reviews--cols-2 .wcra-shortcode-review-grid--wall,
 .wcra-public-reviews--cols-3 .wcra-shortcode-review-grid--wall {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 640px) {
 .wcra-shortcode-wall {
 margin: 28px auto;
 padding: 24px 14px;
 }

 .wcra-shortcode-card {
 grid-template-columns: 72px minmax(0, 1fr);
 gap: 14px;
 padding: 20px;
 }

 .wcra-shortcode-card__image img {
 max-width: 62px;
 max-height: 88px;
 }

 .wcra-shortcode-card__top {
 flex-direction: column;
 gap: 8px;
 margin-bottom: 12px;
 }

 .wcra-rating-row {
 grid-template-columns: 34px minmax(0, 1fr) 38px;
 }
}

/* WCRA 0.2.9 — shortcode wall hardening for narrow WordPress content containers */
@container (max-width: 980px) {
 .wcra-shortcode-wall__header {
 grid-template-columns: 1fr;
 align-items: start;
 }

 .wcra-public-reviews--cols-2 .wcra-shortcode-review-grid--wall,
 .wcra-public-reviews--cols-3 .wcra-shortcode-review-grid--wall {
 grid-template-columns: 1fr;
 }
}

@container (max-width: 560px) {
 .wcra-shortcode-wall {
 padding: 22px 14px;
 }

 .wcra-shortcode-wall__intro h2 {
 max-width: none;
 font-size: clamp(28px, 10cqw, 38px);
 letter-spacing: -0.03em;
 }

 .wcra-shortcode-wall__distribution {
 padding: 14px;
 border-radius: 18px;
 }

 .wcra-shortcode-card {
 grid-template-columns: 64px minmax(0, 1fr);
 gap: 12px;
 padding: 18px 14px;
 }

 .wcra-shortcode-card__image img {
 max-width: 58px;
 max-height: 82px;
 }

 .wcra-shortcode-card__top {
 flex-direction: column;
 gap: 8px;
 }

 .wcra-shortcode-card h3 {
 font-size: 19px;
 line-height: 1.28;
 }
}

@container (max-width: 420px) {
 .wcra-shortcode-card {
 display: block;
 }

 .wcra-shortcode-card__image {
 justify-content: flex-start;
 min-height: 0;
 margin-bottom: 14px;
 }
}



/* WCRA 0.3.0 — full-width review wall, preview CTA and archive pagination */
.wcra-shortcode-wall--fullbleed {
 position: relative;
 left: 50%;
 right: 50%;
 width: 100vw;
 max-width: 100vw;
 margin-left: -50vw !important;
 margin-right: -50vw !important;
 margin-top: 0;
 margin-bottom: 0;
 padding: clamp(42px, 5vw, 76px) 20px;
 background: #f5f7fb;
 box-sizing: border-box;
 container-type: inline-size;
}

.wcra-shortcode-wall--fullbleed .wcra-shortcode-wall__inner {
 width: min(1180px, 100%);
 margin: 0 auto;
}

.wcra-shortcode-wall--fullbleed .wcra-shortcode-wall__header {
 margin-left: auto;
 margin-right: auto;
 margin-bottom: clamp(28px, 4vw, 42px);
}

.wcra-shortcode-wall--fullbleed .wcra-shortcode-review-grid--wall {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: clamp(18px, 2.4vw, 28px);
}

.wcra-shortcode-wall--fullbleed .wcra-shortcode-card {
 min-width: 0;
 height: 100%;
}

.wcra-shortcode-wall__actions {
 display: flex;
 justify-content: center;
 margin-top: clamp(28px, 4vw, 44px);
}

.wcra-shortcode-wall__more {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 52px;
 padding: 15px 26px;
 border-radius: 999px;
 background: #09956f;
 color: #ffffff !important;
 font-size: 15px;
 font-weight: 900;
 line-height: 1.2;
 text-decoration: none !important;
 box-shadow: 0 16px 30px rgba(9, 149, 111, 0.22);
 transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wcra-shortcode-wall__more:hover,
.wcra-shortcode-wall__more:focus {
 background: #087f60;
 color: #ffffff !important;
 transform: translateY(-1px);
 box-shadow: 0 20px 34px rgba(9, 149, 111, 0.28);
}

.wcra-review-pagination {
 display: flex;
 justify-content: center;
 align-items: center;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: clamp(30px, 4vw, 46px);
}

.wcra-review-pagination__link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 42px;
 height: 42px;
 border-radius: 50%;
 background: #ffffff;
 color: #253044 !important;
 font-size: 15px;
 font-weight: 800;
 text-decoration: none !important;
 box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.wcra-review-pagination__link.is-current,
.wcra-review-pagination__link:hover,
.wcra-review-pagination__link:focus {
 background: #09956f;
 color: #ffffff !important;
}

@media (max-width: 767px) {
 .wcra-shortcode-wall--fullbleed {
 padding: 34px 14px;
 }

 .wcra-shortcode-wall--fullbleed .wcra-shortcode-review-grid--wall {
 grid-template-columns: 1fr !important;
 }
}

@container (max-width: 760px) {
 .wcra-shortcode-wall--fullbleed .wcra-shortcode-review-grid--wall {
 grid-template-columns: 1fr !important;
 }
}

/* WCRA 0.3.2 safety cap: preview walls must visually show exactly the requested 8 cards on the homepage. */
.wcra-shortcode-wall--preview .wcra-shortcode-review-grid--wall > .wcra-shortcode-card:nth-child(n+9),
.wcra-shortcode-wall--preview .wcra-shortcode-review-grid > .wcra-shortcode-card:nth-child(n+9),
.wcra-shortcode-wall--preview .wcra-wall-grid > .wcra-review-card:nth-child(n+9) {
 display: none !important;
}


/* WCRA 0.3.3 — product-page review wall uses the homepage card layout with 8-item pagination. */
.wcra-shortcode-wall--product {
 margin-top: 42px;
 margin-bottom: 42px;
}

.wcra-shortcode-wall--product .wcra-shortcode-wall__inner {
 width: min(1180px, 100%);
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-review-grid--wall {
 grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card {
 height: 100%;
}

@media (max-width: 767px) {
 .single-product .wcra-shortcode-wall--product .wcra-shortcode-review-grid--wall {
 grid-template-columns: 1fr !important;
 }
}

/* WCRA 0.3.4 — compact product-page review cards.
 Scope is intentionally limited to single product pages so the homepage wall keeps its current size. */
.single-product .wcra-shortcode-wall--product {
 margin-top: 34px;
 margin-bottom: 34px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-wall__inner {
 width: min(1080px, 100%);
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-wall__header {
 gap: clamp(16px, 2vw, 24px);
 margin-bottom: clamp(22px, 3vw, 34px);
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-review-grid--wall {
 gap: clamp(16px, 1.8vw, 22px);
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card {
 grid-template-columns: 66px minmax(0, 1fr);
 gap: 14px;
 min-height: 205px;
 padding: clamp(18px, 1.8vw, 24px);
 border-radius: 16px;
 box-shadow: 0 12px 28px rgba(30, 44, 66, 0.04);
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__image {
 min-height: 100px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__image img {
 max-width: 58px;
 max-height: 82px;
 filter: drop-shadow(0 8px 10px rgba(45, 55, 72, 0.08));
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__top {
 gap: 12px;
 margin-bottom: 12px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__top time {
 font-size: 12px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card h3 {
 margin-bottom: 9px;
 font-size: clamp(16px, 1.25vw, 19px);
 line-height: 1.28;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__text {
 font-size: 14px;
 line-height: 1.58;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__text p {
 margin-bottom: 8px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__author {
 margin-top: 12px;
 font-size: 13px;
 gap: 6px;
}

.single-product .wcra-shortcode-wall--product .wcra-verified-buyer {
 font-size: 10px;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__pet,
.single-product .wcra-shortcode-wall--product .wcra-shortcode-card__product {
 margin-top: 5px;
 font-size: 13px;
 line-height: 1.4;
}

.single-product .wcra-shortcode-wall--product .wcra-shortcode-card .wcra-public-review__reply {
 margin-top: 12px;
 padding: 12px 14px;
 font-size: 13px;
}

.single-product .wcra-shortcode-wall--product .wcra-stars {
 font-size: 16px;
 letter-spacing: 1px;
}

@media (max-width: 767px) {
 .single-product .wcra-shortcode-wall--product .wcra-shortcode-card {
 grid-template-columns: 58px minmax(0, 1fr);
 gap: 12px;
 min-height: 0;
 padding: 16px 14px;
 }

 .single-product .wcra-shortcode-wall--product .wcra-shortcode-card__image {
 min-height: 76px;
 }

 .single-product .wcra-shortcode-wall--product .wcra-shortcode-card__image img {
 max-width: 50px;
 max-height: 72px;
 }

 .single-product .wcra-shortcode-wall--product .wcra-shortcode-card h3 {
 font-size: 16px;
 }
}



/* 0.3.6 simplified review request form */
.wcra-review-product-card--simple {
 grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
 gap: 28px;
 padding: 26px;
 align-items: start;
}

.wcra-review-product-card__sidebar--simple {
 position: static;
 top: auto;
 gap: 18px;
}

.wcra-review-product-image--simple {
 min-height: 255px;
 padding: 20px;
}

.wcra-review-product-image--simple img {
 width: 205px;
}

.wcra-review-product-card__content--simple {
 gap: 16px;
}

.wcra-review-section--simple {
 padding: 22px;
}

.wcra-review-simple-label,
.wcra-review-simple-title {
 display: block;
 margin: 0 0 12px;
 color: #163047;
 font-size: 18px;
 line-height: 1.3;
 font-weight: 800;
}

.wcra-rating-compact {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
}

.wcra-rating-compact__option {
 position: relative;
 display: inline-flex;
 min-width: 96px;
 min-height: 54px;
 align-items: center;
 justify-content: center;
 padding: 12px 14px;
 border: 1px solid #dbe7f0;
 border-radius: 16px;
 background: #f8fbff;
 color: #e0a100;
 cursor: pointer;
 transition: 0.2s ease;
}

.wcra-rating-compact__option input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.wcra-rating-compact__option span {
 font-size: 18px;
 line-height: 1;
 letter-spacing: 1px;
}

.wcra-rating-compact__option:hover,
.wcra-rating-compact__option:has(input:checked) {
 border-color: rgba(19, 135, 166, 0.55);
 background: linear-gradient(180deg, #f3fbfd 0%, #ffffff 100%);
 box-shadow: 0 10px 22px rgba(19, 135, 166, 0.10);
 transform: translateY(-1px);
}

.wcra-review-field--textarea {
 margin-top: 16px;
}

.wcra-review-section--simple .wcra-review-textarea {
 min-height: 150px;
}

.wcra-review-submit-wrap {
 margin-top: 0;
}

@media (max-width: 1120px) {
 .wcra-review-product-card--simple {
 grid-template-columns: 1fr;
 }

 .wcra-review-product-card__sidebar--simple {
 position: static;
 }
}

@media (max-width: 767px) {
 .wcra-review-product-card--simple,
 .wcra-review-section--simple {
 padding: 18px;
 }

 .wcra-rating-compact__option {
 min-width: calc(50% - 5px);
 }
}


/* 0.3.8/0.3.9 review request form refinements */
.wcra-review-submit-wrap--simple {
 border: 1px solid #dbe7f0;
 background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
 box-shadow: 0 16px 34px rgba(15, 94, 122, 0.10);
}

.wcra-review-submit-wrap--simple .wcra-review-submit-copy strong {
 color: #163047;
}

.wcra-review-submit-wrap--simple .wcra-review-submit-copy span {
 color: #526779;
}

.wcra-review-submit-wrap--simple .wcra-review-submit-btn {
 border: 1px solid rgba(19, 135, 166, 0.34) !important;
 background: linear-gradient(135deg, #0f7790 0%, #13a0b8 100%) !important;
 color: #ffffff !important;
 box-shadow: 0 12px 24px rgba(19, 135, 166, 0.18) !important;
}

.wcra-review-submit-wrap--simple .wcra-review-submit-btn:hover,
.wcra-review-submit-wrap--simple .wcra-review-submit-btn:focus {
 background: linear-gradient(135deg, #0d687e 0%, #0f8ea5 100%) !important;
 color: #ffffff !important;
}

.wcra-review-form-success__coupon {
 display: inline-block;
 margin: 10px 0 14px;
 padding: 14px 22px;
 border: 1px solid #b7dfe4;
 border-radius: 16px;
 background: #f0fbfc;
 color: #0f172a;
 font-size: 28px;
 font-weight: 800;
 letter-spacing: 0.08em;
}

.wcra-review-form-success__meta {
 color: #334155;
 font-size: 15px;
}

/* WCRA 0.3.18: buyer image upload preview and validation states. */
.wcra-review-upload {
  position: relative;
  gap: 16px;
  align-items: center;
}

.wcra-review-upload__preview {
  display: none;
  width: 96px;
  height: 72px;
  flex: 0 0 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4fbfd;
  border: 1px solid rgba(15, 119, 143, 0.14);
  box-shadow: 0 8px 18px rgba(14, 44, 56, 0.08);
}

.wcra-review-upload.has-preview .wcra-review-upload__preview {
  display: block;
}

.wcra-review-upload__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wcra-review-upload__status {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #607985;
}

.wcra-review-upload.is-valid {
  border-color: rgba(31, 160, 92, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f3fff8 100%);
}

.wcra-review-upload.is-valid .wcra-review-upload__status {
  color: #167a45;
}

.wcra-review-upload.is-invalid {
  border-color: rgba(204, 57, 57, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #fff6f6 100%);
}

.wcra-review-upload.is-invalid .wcra-review-upload__status {
  color: #a82727;
  font-weight: 700;
}

.wcra-review-form-message--error {
  border-color: rgba(204, 57, 57, 0.28);
  background: #fff6f6;
  color: #922424;
}

@media (max-width: 640px) {
  .wcra-review-upload {
    align-items: stretch;
  }

  .wcra-review-upload__preview {
    width: 100%;
    height: 180px;
    flex-basis: auto;
  }
}

/* WCRA 0.3.18: customer photo in public review cards. */
.wcra-shortcode-card__customer-photo,
.wcra-public-review__customer-photo {
  margin: 12px 0 14px;
}

.wcra-shortcode-card__customer-photo a,
.wcra-public-review__customer-photo a {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(210, 218, 226, 0.9);
  box-shadow: 0 4px 14px rgba(18, 56, 82, 0.16);
}

.wcra-shortcode-card__customer-photo img,
.wcra-public-review__customer-photo img {
  display: block;
  width: min(250px, 100%);
  height: auto;
  max-height: 210px;
  object-fit: cover;
}

.wcra-public-review__customer-photo img {
  width: min(280px, 100%);
}

/* Expand/Collapse Review Text */
.wcra-shortcode-card__text-wrap {
    position: relative;
    margin-bottom: 15px;
}

.wcra-shortcode-card__text {
    transition: all 0.3s ease;
}

.wcra-read-more {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: none;
    color: #0f5e7a;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wcra-read-more:hover {
    color: #1387a6;
}

.wcra-shortcode-card__text-wrap.is-expanded .wcra-shortcode-card__text {
    margin-bottom: 10px;
}
