/* Product questions */
.single-product [aria-labelledby="pfaq-h"] {
  background: #faf8f7;
}

.single-product [aria-labelledby="pfaq-h"] .container {
  max-width: 940px;
}

.single-product #pfaq-h {
  margin: 0 0 1.4rem;
  font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.25rem);
  line-height: 1.35;
}

.single-product [aria-labelledby="pfaq-h"] .faq {
  background: #fff;
  border: 1px solid #e8e1df;
  border-radius: 16px;
  box-shadow: none;
}

.single-product [aria-labelledby="pfaq-h"] .faq + .faq { margin-block-start: 10px; }

.single-product [aria-labelledby="pfaq-h"] .faq[open] {
  border-color: #d7948e;
  box-shadow: inset 0 0 0 1px #f4dfdc;
}

.single-product [aria-labelledby="pfaq-h"] summary {
  min-height: 62px;
  padding: 12px clamp(14px, 3vw, 23px);
  gap: 12px;
}

.single-product [aria-labelledby="pfaq-h"] summary:focus-visible {
  outline-offset: -3px;
  border-radius: 16px;
}

.single-product [aria-labelledby="pfaq-h"] summary h3 {
  min-width: 0;
  font-size: clamp(1rem, .93rem + .32vw, 1.13rem);
  overflow-wrap: anywhere;
}

.single-product [aria-labelledby="pfaq-h"] summary .ic {
  flex: none;
  width: 33px;
  height: 33px;
  padding: 8px;
  border-radius: 50%;
  background: #f8eae8;
  color: #a52c2b;
}

.single-product [aria-labelledby="pfaq-h"] .faq[open] summary .ic {
  background: #a52c2b;
  color: #fff;
}

.single-product [aria-labelledby="pfaq-h"] .faq-a {
  margin-inline: clamp(14px, 3vw, 23px);
  padding: 12px 0 17px;
  border-block-start: 1px solid #eee5e3;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.single-product [aria-labelledby="pfaq-h"] .faq-a p { color: #4b403e; }

@media (prefers-reduced-motion: reduce) {
  .single-product [aria-labelledby="pfaq-h"] .faq::details-content,
  .single-product [aria-labelledby="pfaq-h"] summary .ic { transition: none; }
}

/* Native WooCommerce reviews */
.ot-reviews {
  background: #faf8f7;
  scroll-margin-top: 6rem;
}

.ot-reviews .container { max-width: 1120px; }

.ot-reviews .ot-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 17px;
  padding: clamp(17px, 4vw, 30px);
  border-radius: 16px;
  background: linear-gradient(135deg, #241a1a, #442323);
  color: #fff;
}

.ot-reviews .ot-reviews-head h2 {
  margin: 0 0 3px;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.05rem);
  line-height: 1.35;
}

.ot-reviews .ot-reviews-head p { margin: 0; color: #f0dbd7; }

.ot-reviews .ot-reviews-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ot-reviews .ot-reviews-rating,
.ot-reviews .ot-reviews-jump {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .4rem .85rem;
  border-radius: 999px;
  font-weight: 800;
}

.ot-reviews .ot-reviews-rating {
  border: 1px solid #9a7770;
  color: #fff;
}
.ot-reviews .ot-reviews-rating > span { color: #ffc48b; }
.ot-reviews .ot-reviews-jump { background: #fff; color: #7e2421; text-decoration: none; }
.ot-reviews .ot-reviews-jump:hover { background: #f6e3df; }
.ot-reviews #review_form { scroll-margin-top: 6rem; }
.ot-reviews #reviews .woocommerce-Reviews-title { display: none; }
.ot-reviews .woocommerce-noreviews {
  padding: 14px 16px;
  margin: 0;
  border-radius: 10px;
  background: #faf6f4;
  color: #4b403e;
}

.ot-reviews #reviews {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.ot-reviews #reviews .clear { display: none; }

.ot-reviews #reviews #comments,
.ot-reviews #reviews #review_form_wrapper,
.ot-reviews .woocommerce-verification-required {
  min-width: 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #e8e1df;
  border-radius: 16px;
  background: #fff;
}

@media (min-width: 960px) {
  .ot-reviews #reviews:has(> #review_form_wrapper) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.ot-reviews #reviews #comments ol.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-reviews #reviews #comments ol.commentlist li {
  margin: 0;
}

.ot-reviews #reviews #comments ol.commentlist li + li {
  margin-block-start: 12px;
}

.ot-reviews #reviews #comments .comment_container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ot-reviews #reviews #comments ol.commentlist li img.avatar {
  float: none;
  position: static;
  box-sizing: border-box;
  flex: none;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

.ot-reviews #reviews #comments ol.commentlist li .comment-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border-color: #e8e1df;
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.ot-reviews #reviews #comments .star-rating {
  float: none;
  margin-block-end: 6px;
  color: #9d2521;
}

.ot-reviews #reviews #comments .description p:last-child { margin-block-end: 0; }

.ot-reviews .comment-reply-title {
  display: block;
  font-weight: 800;
  line-height: 1.45;
  margin-block-end: .75rem;
}

.ot-reviews #review_form label { font-weight: 700; }

.ot-reviews #review_form :is(input[type="text"], input[type="email"], textarea, select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-block-start: .35rem;
  padding: .55rem .7rem;
  background: #fff;
  color: #211a19;
  border: 1px solid #d4c7c4;
  border-radius: 9px;
  font: inherit;
}

.ot-reviews #review_form :is(textarea, select) { max-width: 100%; }

.ot-reviews #review_form textarea { min-height: 130px; resize: vertical; }

.ot-reviews #review_form #respond p.stars a { color: #a52c2b; }

.ot-reviews #review_form #respond .form-submit input {
  min-height: 44px;
  padding: 10px 23px;
  border: 0;
  border-radius: 99px;
  background: #a52c2b;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ot-reviews #review_form #respond .form-submit input:hover { background: #80211f; }

.ot-reviews :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #a52c2b;
  outline-offset: 2px;
}
