/* Product card wrapper - matches .main-product-div */
.product-card {
  background-color: #e8e8e8;
  flex-flow: column;
  align-self: stretch;
  margin-top: 20px;
  padding: 30px;
  display: flex;
}

/* Product header - matches .div-block-1712 */
.product-header {
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  height: 102px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  position: relative;
}

/* Product title container - matches .div-block-1713 */
.product-title-row {
  flex-flow: column;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

/* Product name - matches .text-block-451 + .link-6 */
.product-name {
  color: #000441;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

/* Product brand - matches .text-block-452 */
.product-brand {
  color: #000441;
  text-align: center;
  font-size: 21px;
  line-height: 25px;
}

/* Badge - matches .image-284 */
.product-badge {
  width: 102px;
  height: 102px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
}

/* Meta row (image + grade + rating) - matches .div-block-1715 */
.product-meta {
  gap: 20px;
  margin-top: 30px;
  display: flex;
}

/* Meta card - matches .div-block-1714 */
.product-meta-item {
  background-color: #fff;
  border-radius: 8px;
  flex-flow: column;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px 20px;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.product-meta-item.has-padding-top {
  padding-top: 20px;
}

/* Product image - matches .image-286 */
.product-image {
  height: 260px;
  object-fit: contain;
  width: 100%;
}

/* Meta label - matches .text-block-453 */
.meta-label {
  color: #0076ff;
  height: 60px;
  margin-top: 45px;
  font-size: 25px;
  line-height: 30px;
}

/* Grade value - matches .text-block-454 */
.meta-grade {
  color: #0076ff;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 94px;
  line-height: 90px;
}

/* Rating value - matches .text-block-455 */
.meta-rating {
  color: #323232;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  line-height: 53px;
}

/* Rating stars image - matches .image-285 */
.rating-image {
  max-width: 126px;
}

/* Product body/content - matches .div-block-1716 */
.product-body {
  color: #393939;
  background-color: #fff;
  border: 1px solid #cbbdbd;
  border-radius: 5px;
  flex-flow: column;
  margin-top: 20px;
  padding: 15px;
  display: flex;
}

/* Section label - matches .text-block-456 */
.section-label {
  color: #393939;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

/* Product description - matches .paragraph-product */
.product-description {
  margin-bottom: 14px;
  line-height: 24px;
}

/* CTA button - matches .primary-button */
.cta-button {
  color: #fff;
  cursor: pointer;
  background-color: orange;
  border-radius: 3px;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 280px;
  height: 44px;
  margin-top: 20px;
  font-weight: 700;
  display: flex;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  border: none;
}

/* Performance bars container */
.performance-bars {
  gap: 25px;
  flex-flow: column;
  margin-top: 40px;
  display: flex;
}

/* Performance item — label stacked above bar */
.performance-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Performance metric label above bar */
.performance-name {
  color: rgb(57, 57, 57);
  font-size: 16px;
  line-height: 20px;
}

/* Bar background — full width, gray remainder visible */
.bar {
  background-color: #b0a8a8;
  border-radius: 4px;
  height: 30px;
  width: 100%;
}

/* Bar fill — green */
.performance-progress {
  background-color: #8cc63f;
  border-radius: 4px;
  justify-content: flex-end;
  align-items: center;
  height: 30px;
  padding-right: 12px;
  display: flex;
  width: 0%;
  transition: width 1s ease-out;
}

/* Percent text inside bar */
.performance-percent {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
}

/* Divider - matches .div-block-1719 */
.divider {
  background-color: #bbb2b2;
  height: 1px;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Pros label - matches .text-block-458 */
.pros-label {
  color: #14c649;
  margin-bottom: 20px;
  font-size: 20px;
}

/* Cons label - matches .text-block-458.red */
.cons-label {
  color: #d0021b;
  margin-bottom: 20px;
  font-size: 20px;
}

/* Pros grid - matches .grid-product-1 */
.pros-grid {
  gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

/* Pros/cons item - matches .div-block-1721 */
.pros-item,
.cons-item {
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

/* Check/close icon - matches .image-287 */
.check-icon,
.close-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Item text - matches .text-block-457 */
.pros-item span,
.cons-item span {
  color: #393939;
}

/* Cons section - matches .div-block-1722 */
.cons-section {
  margin-top: 40px;
}

/* Cons list (single column) */
.cons-list {
  gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

/* Wrap-up section - matches .div-block-1723 */
.wrap-up {
  margin-top: 20px;
}

.wrap-up p {
  line-height: 24px;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 991px) {
  .product-name { font-size: 22px; line-height: 29px; }
  .product-meta-item { padding: 12px; }
  .meta-label { margin-top: 20px; }
}

@media (max-width: 767px) {
  .product-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Stack meta boxes vertically as full-width cards */
  .product-meta {
    flex-direction: column;
    gap: 20px;
  }

  .product-meta-item {
    padding: 40px 30px;
    min-height: 260px;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .product-image {
    height: 260px;
  }

  .meta-label {
    height: auto;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 30px;
  }

  .meta-grade {
    font-size: 94px;
    line-height: 94px;
  }

  .meta-rating {
    font-size: 40px;
    font-weight: 700;
    line-height: 53px;
    margin-bottom: 5px;
  }

  .rating-image {
    max-width: 180px;
    margin-top: 12px;
  }

  .pros-grid,
  .cons-list {
    grid-template-columns: 1fr;
  }

  .product-name {
    font-size: 20px;
    line-height: 26px;
  }

  .product-brand {
    font-size: 16px;
  }

  .product-badge {
    width: 70px;
    height: 70px;
    top: -10px;
    right: -5px;
  }
}
