body {
  padding: 136px 24px 24px;

  @media screen and (max-width: 768px) {
    padding: 50px 24px 24px;
  }

  @media screen and (max-width: 576px) {
    padding: 24px 16px;
  }
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1200px;

  h1 {
    text-align: center;
  }

  main {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 328px);
    width: 100%;
    gap: 75px;

    .subscription {
      display: flex;
      flex-direction: column;

      .label {
        background: rgba(52, 199, 89, 0.1);
        color: rgba(52, 199, 89, 1);
        border-radius: 3px;
        padding: 2px 8px;
      }

      .product {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border-radius: var(--border-radius);
        padding: 16px;
        background: var(--background-2);

        .product__top {
          display: flex;
          align-items: center;
          gap: 12px;

          .product__data {
            display: flex;
            flex-direction: column;
            gap: 4px;

            .product__title {
              font-weight: 700;
              font-size: 14px;
              line-height: 120%;
              letter-spacing: 0;
            }

            .product__subtitle {
              display: flex;
              gap: 8px;
              align-items: center;
              color: var(--color-gray-1);

              .separator {
                width: 4px;
                height: 4px;
                flex-shrink: 0;
                border-radius: 50%;
                background-color: #d9d9d9;
              }
            }
          }
        }

        .product__bottom {
          display: flex;
          flex-direction: column;
          gap: 8px;

          .product__row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;

            .title {
              font-weight: 400;
              font-size: 14px;
              line-height: 120%;
              letter-spacing: 0;
              color: var(--color-gray-1);
            }

            .value {
              font-weight: 700;
              font-size: 16px;
              line-height: 120%;
              letter-spacing: 0;
              text-align: right;

              &.strikethrough {
                font-weight: 700;
                font-size: 14px;
                line-height: 120%;
                letter-spacing: 0;
                text-align: right;
                text-decoration: line-through;
                color: var(--color-gray-1);
              }
            }
          }
        }
      }

      .addons {
        display: grid;
        gap: 16px;
        margin-top: 16px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 211px;

        .addon {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: flex-start;
          padding: 26px 12px 12px;
          border-radius: var(--border-radius);
          background: var(--background-2);
        }

          img {
            width: 128.9789276123047px;
            height: 96.73419189453125px;
            margin: 0 0 20px;
          }

          .addon__data {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-top: 17px;

            .addon__name {
              font-weight: 700;
              font-size: 12px;
              line-height: 120%;
              letter-spacing: 0;
              text-align: center;
            }

            .addon__price {
              font-weight: 400;
              font-size: 12px;
              line-height: 150%;
              letter-spacing: 0;
              text-align: center;
              color: var(--color-primary);
            }
          }
        }
      }

      .summary {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 16px;

        .divider {
          opacity: 20%;
        }

        .summary__row {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 8px;

          .title {
            font-weight: 400;
            font-size: 16px;
            line-height: 120%;
            letter-spacing: 0;
            color: var(--color-gray-1);

            .label.l-3 {
              margin: 0 0 0 5px;
            }
          }

          .value {
            font-weight: 700;
            font-size: 16px;
            line-height: 120%;
            letter-spacing: 0;
            text-align: right;

            &.strikethrough {
              text-decoration: line-through;
            }
          }
        }
      }
    }

    .payment {
      display: flex;
      flex-direction: column;
      gap: 16px;

      .payment__data {
        background: var(--background-3);
        border-radius: 16px;
        padding: 8px;
      }

      .payment__checkbox {
        display: flex;
        align-items: center;
        gap: 8px;

        .checkbox {
          flex-shrink: 0;
        }

        a {
          text-decoration: underline;
        }
      }
    }

    @media screen and (max-width: 768px) {
      max-width: 328px;
      gap: 24px;
  
      h1 {
        display: flex;
        flex-direction: column;
      }
  
      main {
        grid-template-columns: 100%;
        gap: 24px;
  
        .subscription {
          .addons {
            display: none;
          }
  
          .summary {
            display: none;
          }
        }
      }
    }
  
    @media screen and (max-width: 576px) {
      .trustpilot__logo {
        width: 120px;
      }
      
      .trustpilot__stars {
        width: 75px;
      }
    }
  }

  .trustpilot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .trustpilot__container {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .trustpilot__logo {
    width: 145.3125px;
    flex-shrink: 0;
  }

  .trustpilot__logo-image {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .trustpilot__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trustpilot__stars {
    display: flex;
    gap: 3.75px;
    width: 93.75px;
  }

  .trustpilot__star {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .trustpilot__star-image {
    display: block;
    width: 18.75px;
    height: 18.75px;
  }

  .trustpilot__text {
    margin: 7.5px 0 0;
    font-size: 12.1875px;
    color: #5a636d;
    text-align: center;
  }
}

/* Зеленый блок с галочкой */
.protection-block {
  position: relative;
  background: rgba(52, 199, 89, 0.08);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin: 16px 0;
}

.protection-block p {
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: var(--foreground-primary);
  margin: 0;
}

.protection-block .check-icon {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: rgba(52, 199, 89, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.protection-block .check-icon svg {
  width: 12px;
  height: 12px;
  fill: white;
}

@media screen and (max-width: 576px) {
  .protection-block {
    padding: 16px 20px;
  }
  
  .protection-block p {
    font-size: 14px;
  }
  
  .protection-block .check-icon {
    width: 20px;
    height: 20px;
  }
  
  .protection-block .check-icon svg {
    width: 10px;
    height: 10px;
  }
}


