/* MENZIL - Компактные кнопки фото в карточке приёма */

.product-photo-upload.product-photo-compact,
#wh-tab-receive .product-photo-upload {
  padding: 8px 12px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-align: left !important;
  min-height: auto !important;
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  cursor: pointer;
  transition: all 0.2s;
}

.product-photo-upload.product-photo-compact:hover,
#wh-tab-receive .product-photo-upload:hover {
  background: rgba(59, 130, 246, 0.06) !important;
}

/* Иконка - небольшая */
.product-photo-upload.product-photo-compact > div:first-child,
#wh-tab-receive .product-photo-upload > div:first-child {
  font-size: 20px !important;
  line-height: 1 !important;
  width: 24px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Текст - компактный */
.product-photo-upload.product-photo-compact > div:last-child,
.product-photo-upload.product-photo-compact .text,
#wh-tab-receive .product-photo-upload .text,
#wh-tab-receive .product-photo-upload > div:last-child {
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  flex: 1 !important;
  font-weight: 500 !important;
}

/* Превью фото - компактнее */
#wh-photo-preview img {
  max-width: 56px !important;
  max-height: 56px !important;
  width: 56px !important;
  height: 56px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}

#wh-photo-preview .photo-preview-item {
  position: relative;
  width: 56px !important;
  height: 56px !important;
}

#wh-photo-preview .remove-photo-btn {
  font-size: 11px !important;
  padding: 2px 6px !important;
  top: -4px !important;
  right: -4px !important;
}
