.social-proof-section {
  background: #fffdf7;
  color: #332314;
  padding: 80px 0;
}

.social-proof-container {
  display: grid;
  gap: 32px;
}

.social-proof-intro,
.product-social-heading {
  max-width: 760px;
}

.social-proof-intro {
  max-width: 1000px;
}

.social-proof-eyebrow {
  color: #72510f;
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.social-proof-intro h2,
.product-social-heading h2 {
  color: #2f1b0c;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.social-proof-intro p,
.product-social-heading p,
.marketplace-copy p {
  color: #55483d;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  background: #fff;
  border: 1px solid #ddd2bc;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(62, 44, 19, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
}

.review-card::before {
  color: #a97b1e;
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 56px;
  height: 42px;
  line-height: 1;
}

.review-card blockquote {
  color: #30271f;
  font-size: 18px;
  line-height: 1.65;
  margin: 12px 0 28px;
}

.review-card footer {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

.review-buyer {
  color: #49392c;
  font-size: 16px;
  font-weight: 700;
}

.verified-purchase {
  align-items: center;
  color: #165c35;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
}

.verified-purchase::before {
  align-items: center;
  background: #187844;
  border-radius: 50%;
  color: #fff;
  content: "\2713";
  display: inline-flex;
  font-size: 11px;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.review-actions,
.product-social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reviews-toggle,
.reviews-source-link,
.marketplace-link {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-toggle {
  background: #6b4c0e;
  border: 2px solid #6b4c0e;
  color: #fff;
  cursor: pointer;
}

.reviews-source-link {
  border: 2px solid #6b4c0e;
  color: #5c400a;
}

.reviews-toggle:hover,
.reviews-source-link:hover,
.marketplace-link:hover {
  box-shadow: 0 8px 18px rgba(45, 31, 12, 0.15);
  transform: translateY(-2px);
}

.reviews-toggle:focus-visible,
.reviews-source-link:focus-visible,
.marketplace-link:focus-visible {
  outline: 3px solid #1e6ea7;
  outline-offset: 3px;
}

.marketplace-panel {
  align-items: center;
  background: #f2e7ca;
  border: 1px solid #d5c291;
  border-radius: 22px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  margin-top: 16px;
  padding: 34px;
}

.marketplace-copy h3 {
  color: #2f1b0c;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.marketplace-links {
  display: grid;
  gap: 12px;
}

.marketplace-link {
  background: #fff;
  border: 2px solid #4c3b28;
  color: #302418;
}

.marketplace-link::after {
  content: "\2197";
  font-size: 18px;
  margin-left: 10px;
}

.marketplace-link-ebay {
  border-color: #3156a5;
}

.marketplace-link-etsy {
  border-color: #b84c23;
}

.product-social-proof {
  background: #fffdf7;
  border: 1px solid #ded3bc;
  border-radius: 22px;
  display: grid;
  gap: 22px;
  margin-top: 36px;
  padding: 32px;
}

.product-reviews-carousel {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
}

.product-reviews-grid {
  display: flex;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-reviews-grid::-webkit-scrollbar {
  display: none;
}

.product-reviews-grid .review-card {
  border-radius: 14px;
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 190px;
  padding: 20px;
  scroll-snap-align: start;
}

.product-reviews-grid .review-card::before {
  font-size: 42px;
  height: 30px;
}

.product-reviews-grid .review-card blockquote {
  font-size: 15px;
  line-height: 1.55;
  margin: 8px 0 18px;
}

.product-reviews-grid .review-card footer {
  gap: 7px;
}

.product-reviews-grid .review-buyer {
  font-size: 14px;
}

.product-reviews-grid .verified-purchase {
  font-size: 12px;
  gap: 6px;
}

.product-reviews-grid .verified-purchase::before {
  font-size: 9px;
  height: 17px;
  width: 17px;
}

.product-reviews-button {
  align-items: center;
  background: #fff;
  border: 1px solid #c9a650;
  border-radius: 50%;
  color: #5c3b00;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 32px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 44px;
}

.product-reviews-button:hover:not(:disabled) {
  background: #6b4c0e;
  color: #fff;
  transform: scale(1.05);
}

.product-reviews-button:focus-visible,
.product-reviews-grid:focus-visible {
  outline: 3px solid #1e6ea7;
  outline-offset: 3px;
}

.product-reviews-button:disabled {
  cursor: default;
  opacity: 0.35;
}

[hidden] {
  display: none !important;
}

:root[data-theme="dark"] .social-proof-section,
:root[data-theme="dark"] .product-social-proof {
  background: #211b14;
  border-color: #4b4032;
  color: #eadfca;
}

:root[data-theme="dark"] .social-proof-intro h2,
:root[data-theme="dark"] .product-social-heading h2,
:root[data-theme="dark"] .marketplace-copy h3,
:root[data-theme="dark"] .review-card blockquote {
  color: #fff3dd;
}

:root[data-theme="dark"] .social-proof-intro p,
:root[data-theme="dark"] .product-social-heading p,
:root[data-theme="dark"] .marketplace-copy p,
:root[data-theme="dark"] .review-buyer {
  color: #dfd2bd;
}

:root[data-theme="dark"] .review-card,
:root[data-theme="dark"] .marketplace-link {
  background: #2c241b;
  border-color: #594a38;
}

:root[data-theme="dark"] .product-reviews-button {
  background: #2c241b;
  border-color: #80672f;
  color: #f0cf86;
}

:root[data-theme="dark"] .product-reviews-button:hover:not(:disabled) {
  background: #f0cf86;
  color: #211b14;
}

:root[data-theme="dark"] .marketplace-panel {
  background: #302719;
  border-color: #5d4c2d;
}

:root[data-theme="dark"] .marketplace-link,
:root[data-theme="dark"] .reviews-source-link,
:root[data-theme="dark"] .social-proof-eyebrow {
  color: #f0cf86;
}

@media (max-width: 900px) {
  .reviews-grid,
  .marketplace-panel {
    grid-template-columns: 1fr;
  }

  .product-reviews-grid .review-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 600px) {
  .social-proof-section {
    padding: 56px 0;
  }

  .review-card,
  .product-social-proof,
  .marketplace-panel {
    padding: 24px;
  }

  .product-reviews-carousel {
    gap: 8px;
  }

  .product-reviews-grid .review-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 20px;
  }

  .product-reviews-button {
    font-size: 28px;
    height: 38px;
    width: 38px;
  }

  .review-actions,
  .product-social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-toggle,
  .reviews-source-link,
  .marketplace-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-toggle,
  .reviews-source-link,
  .marketplace-link,
  .product-reviews-button {
    transition: none;
  }

  .product-reviews-grid {
    scroll-behavior: auto;
  }
}
