/* ScandiWarm 1.4.17: shared mobile review layout for home and product pages. */
@media (max-width: 760px) {
  .reviews-module .reviews-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 20px;
  }

  .reviews-module .reviews-brand {
    justify-self: start;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .reviews-module .reviews-brand img {
    display: block;
    width: 86px;
    max-width: 100%;
    height: auto;
  }

  .reviews-module .reviews-copy {
    min-width: 0;
    max-width: 100%;
  }

  .reviews-module .reviews-copy small {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .04em;
    overflow-wrap: break-word;
  }

  .reviews-module .reviews-copy h2 {
    margin: 5px 0 10px;
    font-size: 22px;
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .reviews-module .reviews-score-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
  }

  .reviews-module .reviews-score-line strong { font-size: 22px; }
  .reviews-module .reviews-summary-stars { font-size: 16px; white-space: nowrap; }
  .reviews-module .reviews-copy p { font-size: 13px; line-height: 1.5; }

  .reviews-module .reviews-controls {
    display: grid;
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #d5deea;
  }

  .reviews-module .reviews-controls > span {
    display: block;
    min-width: 0;
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .reviews-module .reviews-controls > div {
    display: grid;
    grid-template-columns: 44px 44px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    width: 100%;
  }

  .reviews-module .reviews-controls button {
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    max-width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0;
    flex: none;
    border-radius: 50%;
    line-height: 1;
    font-size: 20px;
    text-align: center;
    transform: none;
  }

  .reviews-module .reviews-controls .reviews-pause {
    justify-self: end;
    width: auto !important;
    min-width: 88px !important;
    max-width: 100%;
    height: 44px !important;
    min-height: 44px;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .reviews-module .reviews-track {
    grid-auto-columns: 100%;
    gap: 12px;
    padding: 2px 0 14px;
  }

  .reviews-module .review-card { min-width: 0; min-height: 220px; padding: 20px; }
  .reviews-module .review-card > header { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .reviews-module .review-avatar { width: 40px; height: 40px; }
  .reviews-module .review-card > header strong { font-size: 15px; line-height: 1.45; overflow-wrap: break-word; }
  .reviews-module .review-card > p { font-size: 15px; line-height: 1.7; hyphens: none; word-break: normal; overflow-wrap: break-word; }
}

@media (max-width: 360px) {
  .reviews-module .reviews-copy h2 { font-size: 20px; }
  .reviews-module .review-card { padding: 16px; }
}
