.tpggr {
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
  color: #202124;
  margin: 28px auto;
  max-width: 1180px;
  overflow: hidden;
  width: 100%;
}

.tpggr *,
.tpggr *::before,
.tpggr *::after {
  box-sizing: border-box;
}

.tpggr__header,
.tpggr__footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}

.tpggr__header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid #edf1f5;
}

.tpggr__source {
  align-items: center;
  color: #5f6368;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tpggr__source .tpggr-google-word {
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.tpggr h2 {
  color: #202124;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 4px 0 6px;
}

.tpggr p {
  color: #3c4043;
  line-height: 1.55;
  margin: 0;
}

.tpggr__score {
  align-items: flex-end;
  background: #f8fbff;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 12px 14px;
}

.tpggr__score strong {
  color: #188038;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.tpggr__score small {
  color: #5f6368;
  font-size: 12px;
  font-weight: 700;
}

.tpggr__stars {
  color: #dadce0;
  display: inline-flex;
  gap: 2px;
  letter-spacing: 0;
}

.tpggr__stars i {
  font-style: normal;
}

.tpggr__stars .is-on {
  color: #fbbc04;
}

.tpggr__viewport {
  overflow: hidden;
  padding: 22px 0 8px 24px;
  width: 100%;
}

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

.tpggr--carousel .tpggr__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.tpggr--carousel .tpggr__card {
  flex: 0 0 var(--tpggr-card-width, 100%);
  max-width: var(--tpggr-card-width, 100%);
}

.tpggr--compact .tpggr__track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tpggr__card {
  background: #ffffff;
  border: 1px solid #e0e3e7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 188px;
  min-width: 0;
  padding: 16px;
}

.tpggr__cardTop {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  min-width: 0;
}

.tpggr__photoWrap {
  flex: 0 0 44px;
  height: 44px;
  position: relative;
  width: 44px;
}

.tpggr__photo,
.tpggr__avatar {
  border-radius: 50%;
  height: 44px;
  width: 44px;
}

.tpggr__photo {
  display: block;
  object-fit: cover;
}

.tpggr__avatar {
  align-items: center;
  background: #e8f0fe;
  color: #1a73e8;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: center;
  text-transform: uppercase;
}

.tpggr__avatar--fallback {
  display: none;
}

.tpggr__author {
  flex: 1 1 auto;
  min-width: 0;
}

.tpggr__cardTop strong {
  color: #202124;
  display: block;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tpggr__stars--small {
  font-size: 14px;
  line-height: 1.2;
}

.tpggr__googleBadge {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  margin-left: auto;
  width: 28px;
}

.tpggr__googleBadge svg {
  display: block;
  height: 17px;
  width: 17px;
}

.tpggr__reviewBody {
  flex: 1 1 auto;
  min-width: 0;
}

.tpggr__reviewBody p {
  color: #3c4043;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  max-height: 4.35em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tpggr__reviewBody.is-expanded p {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.tpggr__readMore {
  background: transparent;
  border: 0;
  color: #1a73e8;
  cursor: pointer;
  display: none;
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 0;
  padding: 0;
}

.tpggr__readMore.is-visible {
  display: inline-flex;
}

.tpggr__readMore:hover,
.tpggr a:hover {
  text-decoration: underline;
}

.tpggr__reviewPhotoWrap {
  background: #f8fafd;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  margin: 12px 0 0;
  overflow: hidden;
  width: 100%;
}

.tpggr__reviewPhoto {
  aspect-ratio: 16 / 9;
  display: block;
  max-height: 150px;
  object-fit: cover;
  width: 100%;
}

.tpggr__card footer {
  align-items: center;
  border-top: 1px solid #edf1f5;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
}

.tpggr__card footer span {
  color: #70757a;
  font-size: 12px;
}

.tpggr a {
  color: #1a73e8;
  font-weight: 700;
}

.tpggr__controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 24px 18px;
}

.tpggr__control {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-radius: 50%;
  color: #1a73e8;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.tpggr__control:hover,
.tpggr__control:focus {
  background: #e8f0fe;
  border-color: #aecbfa;
  outline: 0;
}

.tpggr__control:disabled {
  cursor: default;
  opacity: 0.35;
}

.tpggr__dots {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  min-height: 10px;
}

.tpggr__dot {
  background: #c8d2df;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  height: 7px;
  padding: 0;
  width: 7px;
}

.tpggr__dot.is-active {
  background: #1a73e8;
  width: 18px;
}

.tpggr__footer {
  background: #f8fafd;
  border-top: 1px solid #edf1f5;
  color: #5f6368;
  font-size: 13px;
}

.tpggr__googleLink {
  align-items: center;
  background: #1a73e8;
  border-radius: 999px;
  color: #ffffff !important;
  display: inline-flex;
  min-height: 40px;
  padding: 9px 16px;
  text-decoration: none;
}

.tpggr__googleLink:hover,
.tpggr__googleLink:focus {
  background: #1558b0;
  color: #ffffff;
  text-decoration: none;
}

.tpggr-product-cta {
  align-items: center;
  background: #f5f6fa;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  box-sizing: border-box;
  color: #111827;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 14px 10px 0;
  padding: 18px 22px;
  width: auto;
}

.tpggr-product-cta__summary {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tpggr-product-cta__brand,
.tpggr-product-cta__rating {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tpggr-product-cta__brand strong {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.tpggr-google-word {
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.tpggr-google-word__blue {
  color: #4285f4;
}

.tpggr-google-word__red {
  color: #ea4335;
}

.tpggr-google-word__yellow {
  color: #fbbc04;
}

.tpggr-google-word__green {
  color: #34a853;
}

.tpggr-product-cta__rating > strong {
  color: #111827;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.tpggr-product-cta__stars {
  color: #dadce0;
  display: inline-flex;
  gap: 1px;
  font-size: 26px;
  line-height: 1;
}

.tpggr-product-cta__stars i {
  font-style: normal;
}

.tpggr-product-cta__stars .is-on {
  color: #fbbc04;
}

.tpggr-product-cta__count {
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.tpggr-product-cta__button {
  align-items: center;
  background: #1a73e8;
  border-radius: 999px;
  box-sizing: border-box;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  min-width: 220px;
  padding: 13px 24px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.tpggr-product-cta__button:hover,
.tpggr-product-cta__button:focus {
  background: #1558b0;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .tpggr__header,
  .tpggr__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tpggr__score {
    align-items: flex-start;
  }

  .tpggr__track,
  .tpggr--compact .tpggr__track {
    grid-template-columns: 1fr;
  }

  .tpggr--carousel .tpggr__card {
    flex-basis: var(--tpggr-card-width, 100%);
  }

  .tpggr-product-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .tpggr-product-cta__button {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .tp-product-cro .product-add-to-cart {
    position: static;
    padding: 0;
    margin: 12px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .tp-product-cro .product-add-to-cart .product-quantity {
    margin-bottom: 0;
  }
}

@media (max-width: 520px) {
  .tpggr {
    margin: 20px 12px;
  }

  .tpggr__header,
  .tpggr__footer,
  .tpggr__viewport,
  .tpggr__controls {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tpggr__footer {
    align-items: stretch;
  }

  .tpggr__googleLink {
    justify-content: center;
    width: 100%;
  }

  .tpggr__viewport {
    padding-right: 0;
  }

  .tpggr-product-cta {
    margin: 12px 0 0;
    padding: 16px;
  }

  .tpggr-product-cta__brand strong,
  .tpggr-google-word {
    font-size: 18px;
  }

  .tpggr-product-cta__rating > strong {
    font-size: 21px;
  }

  .tpggr-product-cta__stars {
    font-size: 22px;
  }

  .tpggr-product-cta__button {
    min-height: 50px;
    min-width: 0;
    white-space: normal;
  }
}
