.product-card {
    padding: 30px;
    padding-bottom: 40px;
    overflow: visible;
    height: auto;
  }

  .review-star-input {
    display: flex;
    gap: 6px;
  }
  .review-star-input button {
    border: 0;
    background: transparent;
    color: #f0ad4e;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    padding: 0;
    transition: transform 0.15s ease, color 0.15s ease;
  }
  .review-star-input button:hover,
  .review-star-input button:focus {
    color: #e59400;
    outline: none;
    transform: translateY(-1px) scale(1.08);
  }
  .product-rating-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .product-rating-summary .rating-copy {
    color: #333;
    font-size: 15px;
    margin-left: 6px;
  }
  .write-review-button {
    align-items: center;
    background: #eef7ef;
    border: 1px solid #d5ead8;
    border-radius: 50%;
    color: #2e7d32;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.2s ease;
    width: 32px;
  }
  .write-review-button:hover,
  .write-review-button:focus {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
  }
  .product-tabs {
    border-bottom: 1px solid #dce7df;
    margin-bottom: 24px;
  }
  .product-tabs.nav-tabs > li > a {
    border: 0;
    color: #56705d;
    font-weight: 700;
    margin-right: 8px;
    padding: 13px 20px;
  }
  .product-tabs.nav-tabs > li.active > a,
  .product-tabs.nav-tabs > li.active > a:hover,
  .product-tabs.nav-tabs > li.active > a:focus {
    border: 0;
    border-bottom: 3px solid #2e7d32;
    color: #2e7d32;
  }
  .product-copy-section + .product-copy-section {
    border-top: 1px solid #edf1ee;
    margin-top: 24px;
    padding-top: 24px;
  }
  #productSummarySection[hidden] + .product-copy-section {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
  .product-copy-section h3 {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
  }
  .review-panel {
    background: #f7faf8;
    border: 1px solid #e3ece6;
    border-radius: 10px;
    min-height: 100%;
    padding: 22px;
  }
  .review-panel h5 {
    margin: 0 0 20px;
  }
  #reviewAlert.d-none {
    display: none;
  }
  .review-card {
    background: #fff;
    border: 1px solid #e3ece6;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(33, 76, 43, 0.04);
    margin-bottom: 14px;
    padding: 16px;
  }
  .review-card:last-child {
    margin-bottom: 0;
  }
  .review-card-header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .review-card-rating {
    margin-bottom: 8px;
  }
  .review-card p,
  .review-empty-state p {
    margin-bottom: 0;
  }
  .review-empty-state .bi {
    color: #2e7d32;
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
  }
  .review-empty-state {
    background: #fff;
    border: 1px dashed #cbdacf;
    border-radius: 10px;
    color: #687b6d;
    padding: 28px 18px;
    text-align: center;
  }
  .review-form-panel .form-control {
    border-color: #d9e3dc;
    border-radius: 7px;
    box-shadow: none;
    min-height: 42px;
  }
  .review-form-panel textarea.form-control {
    min-height: 120px;
    resize: vertical;
  }
  .review-form-panel .form-control:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
  }
  .review-submit-button {
    background: #2e7d32;
    border: 1px solid #2e7d32;
    border-radius: 7px;
    color: #fff;
    font-weight: 700;
    padding: 11px 22px;
    transition: all 0.2s ease;
  }
  .review-submit-button:hover,
  .review-submit-button:focus {
    background: #1b5e20;
    border-color: #1b5e20;
    color: #fff;
    transform: translateY(-1px);
  }
  @media (max-width: 991px) {
    .product-details-column,
    .review-form-column {
      margin-top: 20px;
    }
  }
  @media (max-width: 767px) {
    .custom-card,
    .review-panel {
      padding: 20px;
    }
    .product-tabs.nav-tabs > li > a {
      padding: 11px 13px;
    }
  }