/* LOCAL CANDIDATE ONLY. Matches the 2026-10-22 Hippie Groovy PDP/home reference. */
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-water-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  width: 100%;
  margin: 0;
}

/* PDP group/list cards have an extra anonymous div around the article. Stretch
   that wrapper as a grid item; keep the native article itself a grid, never flex. */
:is(.dr-pdp-community, .dr-pdp-item-reviews) .plugin-product-comment-water-col-item {
  display: contents;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews) .plugin-product-comment-water-col-item > div {
  display: grid;
  min-width: 0;
  width: 100%;
  height: 100%;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews) .plugin-product-comment-water-col-item > div > .plugin-product-comment-waterCommentWrap {
  width: 100%;
  height: 100%;
  min-width: 0;
}

/* Homepage group cards use the native role=listitem wrapper. */
#shopline-section-template--index__home-reviews .plugin-product-comment-water-col-item {
  display: contents;
}
#shopline-section-template--index__home-reviews .plugin-product-comment-water-col-item > [role="listitem"] {
  display: grid;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-waterCommentWrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 8px 14px;
  align-content: start;
  align-items: start;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 220px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px #00000008;
}

:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-infoWrap,
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-info {
  display: contents;
}

:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-userInfo {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-nicknameskuAttributes {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-date {
  color: #777;
  font-size: 12px;
}

/* Reference order: reviewer/date, rating, review text; rating is not overlaid
   on the photo. */
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-waterCommentWrap .plugin-product-comment-rate {
  position: static;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0;
  padding: 0;
  transform: none;
  -webkit-transform: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .custom-star-color {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star {
  width: 17px;
  height: 17px;
  padding: 1px;
  border-radius: 1px;
  background: #e7e7e7;
  color: #fff !important;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star-full {
  background: #f36e24;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star > div {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star-first,
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star-second {
  position: absolute;
  inset: 0;
  color: #fff !important;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-rate .plugin-product-comment--star svg {
  display: block;
  width: 15px;
  height: 15px;
  color: #fff !important;
}

:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-content-info {
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-content-info,
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-content {
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: unset;
  overflow-wrap: anywhere;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-CommentAndHelpfulBtns-box {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  margin: 0;
  padding: 0;
}

/* Same-size 128x160 / 100x125 frame; contain preserves the whole original buyer photo without
   distortion or cropping. The source URL and pixels remain native. */
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-imageBox {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: start;
  width: 128px;
  height: 160px;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f7f7;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-image {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}

:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-bgContainer {
  grid-column: 1;
  grid-row: 5;
  align-self: end;
  min-width: 0;
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e9e9e9;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-product-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-product-card-pic {
  width: 42px;
  height: 42px;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-product-card-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-product-card-name {
  min-width: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.5;
}

/* Reviews without a photo use the available card width naturally. */
:is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
  .plugin-product-comment-waterCommentWrap:not(:has(.plugin-product-comment-imageBox)) {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 959px) {
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-water-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-waterCommentWrap {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 7px 10px;
    min-height: 0;
    padding: 10px;
  }
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-imageBox {
    width: 100px;
    height: 125px;
  }
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-nicknameskuAttributes {
    font-size: 13px;
  }
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-date {
    font-size: 11px;
  }
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-content-info,
  :is(.dr-pdp-community, .dr-pdp-item-reviews, #shopline-section-template--index__home-reviews)
    .plugin-product-comment-content {
    font-size: 13px;
    line-height: 1.5;
  }
}

.dr-review-priority[data-dr-review-source="pending"] {min-height:220px;position:relative}
.dr-review-priority[data-dr-review-source="pending"] .dr-pdp-item-reviews {visibility:hidden}
.dr-review-priority[data-dr-review-source="pending"] .dr-review-loading {position:absolute;top:0}
.dr-review-priority:not([data-dr-review-source="community"]) .dr-pdp-community {display:none}
.dr-review-priority:not([data-dr-review-source="pending"]):not([data-dr-review-source="error"]) .dr-review-loading {display:none}
.dr-review-priority[data-dr-review-source="product"] .dr-pdp-item-reviews > summary {display:none}
.dr-pdp-item-reviews {border:0;margin:24px 0;padding:0}
.dr-pdp-item-reviews > summary {cursor:pointer;padding:16px 0;border-top:1px solid #ddd;font-size:14px}
.dr-pdp-community__title {font-size:22px;margin:0 0 16px}
.dr-pdp-community__note {font-size:14px;color:#555;margin:0 0 18px}
.dr-review-priority {color:#222}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-userInfo {flex-direction:column;align-items:flex-start}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) [data-dr-name] {font-size:0!important;line-height:1.45}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) [data-dr-name]::before {content:attr(data-dr-name);display:block;font-size:14px;font-weight:600;color:#222}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) [data-dr-date]::after {content:attr(data-dr-date);display:block;font-size:12px;font-weight:400;color:#777;margin-top:3px}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-rate svg path {fill:#fff!important}
.dr-review-priority .plugin-product-comment-extraConfigWarp:has(.plugin-product-comment-questionRatio[data-dr-empty="true"]) {display:none}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-bgContainer-bg {display:none}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-product-card-name {font-size:13.5px;line-height:1.45;color:#222;white-space:normal}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-product-card-name span {display:block;max-height:none;-webkit-line-clamp:unset;white-space:normal;font-size:13.5px;color:#222}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentHeader-top[data-dr-review-count] .plugin-product-comment-commentSynthesize {display:none}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentHeader-top[data-dr-review-count]::after {content:attr(data-dr-review-count) ' Reviews';font-size:14px;color:#333;margin-left:8px}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-bgContainer-placeholder {display:none}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-bgContainer-body {position:static;opacity:1;transform:none}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate .plugin-product-comment--star {width:18px;height:18px;padding:2px;background:#e7e7e7;color:#fff!important}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate .plugin-product-comment--star-full {background:#f36e24}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate svg {width:14px;height:14px}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate svg path {fill:#fff!important}
.dr-pdp-item-reviews .plugin-product-comment-title {display:none}
.dr-pdp-item-reviews .plugin-product-comment-mobile-index-write-btn-container {text-align:right;margin:12px 0}
.dr-pdp-item-reviews .plugin-product-comment-mobile-index-write-btn-container button {width:auto!important;padding:8px 16px;min-height:36px;font-size:13px}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentHeader-top[data-dr-review-count="1"]::after {content:'1 Review'}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate .plugin-product-comment--star svg path {fill:#fff!important}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) .plugin-product-comment-commentRate > svg path {fill:currentColor!important}
:is(.dr-review-priority,#shopline-section-template--index__home-reviews) :is(.plugin-product-comment-product-card-name,.plugin-product-comment-product-card-pic) {opacity:1}

/* Match the same native page-width variables as Best Sellers and reviews. */
:is(#shopline-section-template--index__drolette-interests,#shopline-section-template--index__drolette-styles) .dr-category-grid.dr-category-grid--collections {
  width:100%;
  max-width:calc(var(--page-padding)*2 + var(--page-width));
  padding-inline:var(--page-padding);
}
/* Keep the native summary star layers, including partial-rating widths. */
#shopline-section-template--index__home-reviews .plugin-product-comment-commentRate .plugin-product-comment--star > div {
  position:relative;
  width:14px;
  height:14px;
}
#shopline-section-template--index__home-reviews .plugin-product-comment-commentRate .plugin-product-comment--star svg {
  display:block;
}
#shopline-section-template--index__home-reviews {
  scroll-margin-top:calc(var(--dr-review-header-height,0px) + 24px);
}
