/* AI selection product-card secondary actions */
.product-card.tech-panel .media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(91, 130, 181, 0.16);
}

.product-card.tech-panel .media-actions > button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(91, 130, 181, 0.34);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(24, 46, 79, 0.92), rgba(13, 29, 53, 0.96));
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  color: #c5d3e9;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.product-card.tech-panel .media-actions > button > i {
  display: inline-flex;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(148, 177, 220, 0.14);
  border-radius: 6px;
  background: rgba(143, 176, 222, 0.075);
  color: currentColor;
  font-size: 13px;
}

.product-card.tech-panel .media-actions > button:hover {
  color: #ffffff;
  border-color: rgba(100, 157, 238, 0.68);
  background:
    linear-gradient(180deg, rgba(29, 57, 97, 0.98), rgba(17, 38, 69, 0.99));
  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.product-card.tech-panel .media-actions > button:nth-child(1):hover {
  color: #f5d58c;
  border-color: rgba(231, 191, 94, 0.6);
  background:
    linear-gradient(180deg, rgba(66, 55, 31, 0.96), rgba(40, 32, 21, 0.98));
}

.product-card.tech-panel .media-actions > button:nth-child(1):hover > i {
  border-color: rgba(245, 213, 140, 0.26);
  background: rgba(245, 213, 140, 0.12);
}

.product-card.tech-panel .media-actions > button:nth-child(2):hover {
  color: #ff9eb0;
  border-color: rgba(232, 100, 127, 0.56);
  background:
    linear-gradient(180deg, rgba(69, 40, 52, 0.96), rgba(43, 24, 35, 0.98));
}

.product-card.tech-panel .media-actions > button:nth-child(2):hover > i {
  border-color: rgba(255, 158, 176, 0.22);
  background: rgba(255, 158, 176, 0.1);
}

.product-card.tech-panel .media-actions > button:nth-child(3):hover {
  color: #85d1ff;
  border-color: rgba(93, 197, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(27, 58, 86, 0.97), rgba(17, 37, 61, 0.99));
}

.product-card.tech-panel .media-actions > button:nth-child(3):hover > i {
  border-color: rgba(133, 209, 255, 0.22);
  background: rgba(133, 209, 255, 0.1);
}

.product-card.tech-panel .media-actions > button:active {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 2px 5px rgba(0, 0, 0, 0.14);
  transform: translateY(0);
}

.product-card.tech-panel .media-actions > button:focus-visible {
  outline: 2px solid rgba(104, 169, 255, 0.92);
  outline-offset: 2px;
}

.product-card.tech-panel .media-actions > button.refreshing {
  color: #85d1ff;
  border-color: rgba(93, 197, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(27, 58, 86, 0.97), rgba(17, 37, 61, 0.99));
}

.product-card.tech-panel .media-actions > button:disabled {
  opacity: 0.66;
  box-shadow: none;
  cursor: progress;
  transform: none;
}

.product-card.tech-panel .media-actions > button.refreshing > i {
  color: #85d1ff;
}

@media (max-width: 640px) {
  .product-card.tech-panel .media-actions {
    gap: 7px;
  }

  .product-card.tech-panel .media-actions > button {
    flex: 1 1 108px;
    padding-inline: 10px;
  }
}
