.comparison-table th:last-child:after {
  content: "המומלץ ✓";
  position: absolute;
  top: -15px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 999 !important; /* Very high z-index to ensure visibility */
  width: auto !important; /* Ensure width is based on content */
  white-space: nowrap !important; /* Prevent text wrapping */
  transform: translateY(-5px) !important; /* Move up slightly to ensure visibility */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important; /* Add shadow for better visibility */
  border: 1px solid white !important; /* Add white border for contrast */
  font-weight: bold !important;
  display: block !important;
}

/* Ensure the ribbon is visible on all screen sizes */
@media (max-width: 992px) {
  .comparison-table th:last-child:after {
    top: -18px !important;
    right: 5px !important;
    transform: translateY(-5px) !important;
    font-size: 13px !important;
    padding: 4px 8px !important;
  }
}

@media (max-width: 768px) {
  .comparison-table td:nth-child(4):before {
    content: "BetterWeb ✓";
    position: absolute;
    top: -15px !important;
    right: 10px !important;
    background-color: #4CAF50 !important;
    color: white !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    z-index: 999 !important; /* Very high z-index to ensure visibility */
    width: auto !important; /* Ensure width is based on content */
    white-space: nowrap !important; /* Prevent text wrapping */
    transform: translateY(-5px) !important; /* Move up slightly to ensure visibility */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important; /* Add shadow for better visibility */
    border: 1px solid white !important; /* Add white border for contrast */
    font-weight: bold !important;
    display: block !important;
  }
}
