.product-feedback {
  --feedback-accent: var(--brand-primary, #f00020);
  margin-top: 48px;
  color: #0f172a;
  scroll-margin-top: 100px;
}
.product-feedback [hidden] { display: none !important; }
.product-feedback__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.product-feedback__eyebrow { display: block; margin-bottom: 8px; color: #64748b; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.product-feedback h2 { margin: 0; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.product-feedback h2 span { color: var(--feedback-accent); }
.product-feedback h2 small { color: #64748b; font-size: .65em; font-weight: 400; }
.product-feedback__heading p { max-width: 650px; margin: 12px 0 0; color: #64748b; font-size: 14px; line-height: 1.6; }
.product-feedback__rating-summary { display: flex; align-items: center; flex-shrink: 0; gap: 14px; }
.product-feedback__rating-number { font-size: 44px; font-weight: 650; letter-spacing: -.04em; }
.product-feedback__rating-caption { display: block; margin-top: 2px; color: #64748b; font-size: 12px; }
.product-feedback__stars { color: var(--feedback-accent); font-size: 20px; letter-spacing: 2px; white-space: nowrap; }
.product-feedback__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); align-items: start; gap: 32px; }
.product-feedback__messages { min-width: 0; }
.product-feedback__empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 280px; padding: 36px; border: 1px dashed #cbd5e1; border-radius: 16px; }
.product-feedback__empty-icon { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; margin-bottom: 22px; border-radius: 14px; background: #f1f5f9; color: #64748b; font-size: 30px; }
.product-feedback__empty h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.product-feedback__empty p { max-width: 430px; margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.product-feedback__message { padding: 24px 0; border-bottom: 1px solid #e2e8f0; scroll-margin-top: 100px; }
.product-feedback__message:first-of-type { padding-top: 4px; }
.product-feedback__message header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.product-feedback__message header strong { overflow-wrap: anywhere; font-size: 15px; font-weight: 600; }
.product-feedback__message time { color: #64748b; font-size: 12px; white-space: nowrap; }
.product-feedback__message-text { margin-top: 10px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.75; }
.product-feedback__reply { margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--feedback-accent); border-radius: 0 10px 10px 0; background: #f8fafc; }
.product-feedback__reply header strong { font-size: 13px; }
.product-feedback__compose { min-width: 0; border: 1px solid #e2e8f0; border-radius: 16px; background: #f8fafc; overflow: hidden; }
.product-feedback__compose summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.product-feedback__compose summary::-webkit-details-marker { display: none; }
.product-feedback__compose summary span { color: #64748b; font-size: 24px; line-height: 1; }
.product-feedback__compose[open] summary span { transform: rotate(45deg); }
.product-feedback__form { position: relative; display: flex; flex-direction: column; padding: 0 24px 24px; }
.product-feedback__form-note { margin: -6px 0 20px; color: #64748b; font-size: 12px; line-height: 1.5; }
.product-feedback__form > label { margin: 16px 0 7px; font-size: 13px; font-weight: 600; }
.product-feedback__form > input:not([type="hidden"]), .product-feedback__form textarea { width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; }
.product-feedback__form textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.product-feedback__form input::placeholder, .product-feedback__form textarea::placeholder { color: #64748b; opacity: 1; }
.product-feedback__form small { margin-top: 6px; color: #64748b; font-size: 11px; }
.product-feedback__rating-picker { margin: 0; padding: 0; border: 0; }
.product-feedback__rating-picker legend { margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.product-feedback__rating-picker > div { display: flex; gap: 4px; }
.product-feedback__rating-picker label { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; cursor: pointer; }
.product-feedback__rating-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.product-feedback__rating-picker span { color: #94a3b8; font-size: 28px; }
.product-feedback__rating-picker label.is-selected, .product-feedback__rating-picker label:has(input:checked) { border-color: var(--feedback-accent); background: #fff1f2; }
.product-feedback__rating-picker label.is-selected span, .product-feedback__rating-picker label:has(input:checked) span { color: var(--feedback-accent); }
.product-feedback__rating-picker label:has(input:focus-visible) { outline: 2px solid var(--feedback-accent); outline-offset: 3px; }
.product-feedback__form > .product-feedback__consent { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; color: #475569; font-size: 11px; font-weight: 400; line-height: 1.65; }
.product-feedback__consent input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--feedback-accent); }
.product-feedback__consent a { text-decoration: underline; text-underline-offset: 2px; }
.product-feedback__submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--feedback-accent); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.product-feedback__submit:hover { filter: brightness(.92); }
.product-feedback__submit:disabled { cursor: wait; opacity: .6; }
.product-feedback__optional { color: #64748b; font-size: 11px; font-weight: 400; }
.product-feedback__form input[type="file"] { padding: 10px; font-size: 12px; cursor: pointer; }
.product-feedback__form input[type="file"]::file-selector-button { border: 0; border-radius: 5px; padding: 7px 9px; margin-right: 8px; background: #e2e8f0; color: #334155; cursor: pointer; }
.product-feedback__previews, .product-feedback__photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.product-feedback__previews:empty { display: none; }
.product-feedback__preview { position: relative; width: 80px; height: 80px; }
.product-feedback__preview img, .product-feedback__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; border: 1px solid #cbd5e1; }
.product-feedback__preview button { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #334155; color: #fff; font-size: 18px; cursor: pointer; }
.product-feedback__photos a { display: block; width: 88px; height: 88px; cursor: zoom-in; }
.review-lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 60px 56px; border: 0; background: transparent; color: #fff; }
.review-lightbox:not([open]) { display: none; }
.review-lightbox::backdrop { background: rgb(0 0 0 / 90%); }
.review-lightbox__swiper { width: 100%; height: 100%; }
.review-lightbox .swiper-slide { display: flex; align-items: center; justify-content: center; }
.review-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.review-lightbox button { position: absolute; z-index: 2; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 10px; background: #ffffff10; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.review-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.review-lightbox__close { top: 12px; right: 12px; }
.review-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.review-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.review-lightbox .swiper-button-disabled { opacity: .3; }
.review-lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 9999px; background: rgb(0 0 0 / 60%); font-size: 14px; font-weight: 500; }
@media (max-width: 767px) { .review-lightbox { padding-right: 12px; padding-left: 12px; } }
.product-feedback__notice { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; color: #475569; background: #fff; font-size: 13px; line-height: 1.6; }
.product-feedback__notice.is-success { border-color: #bbdfc8; background: #f0fdf4; color: #166534; }
.product-feedback__notice.is-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.product-feedback__closed { padding: 24px; border: 1px solid #e2e8f0; border-radius: 12px; color: #64748b; font-size: 14px; line-height: 1.6; }
.product-feedback__pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; font-size: 13px; }
.product-feedback__pagination a { padding: 10px; text-decoration: underline; text-underline-offset: 3px; }
.product-feedback__trap, .product-feedback__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.product-feedback a:focus-visible, .product-feedback button:focus-visible, .product-feedback input:focus-visible, .product-feedback textarea:focus-visible, .product-feedback summary:focus-visible { outline: 2px solid var(--feedback-accent); outline-offset: 3px; }
@media (max-width: 767px) {
  .product-feedback { margin-top: 36px; }
  .product-feedback__heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .product-feedback__eyebrow { font-size: 10px; }
  .product-feedback__body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-feedback__empty { min-height: 0; padding: 24px; }
  .product-feedback__empty-icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .product-feedback__empty h3 { font-size: 18px; }
  .product-feedback__compose summary { padding: 20px; }
  .product-feedback__form { padding: 0 20px 20px; }
  .product-feedback__form > input:not([type="hidden"]), .product-feedback__form textarea { font-size: 16px; }
  .product-feedback__reply { padding: 16px; }
}
